title: Swap two rows in python
body: <p>Given <code>m</code> and <code>n</code>, swap the mth and nth rows of the 2-D NumPy array given below.</p>
  <pre><code>import numpy as np
  
  a = np.array([[4, 3, 1],
                [5, 7, 0],
                [9, 9, 3],
                [8, 2, 4]])
  </code></pre>
  <p>Example:</p>
  <p>Input 1:</p>
  <pre><code>0
  2
  </code></pre>
  <p>Output 1:</p>
  <pre><code>array([[9, 9, 3],
         [5, 7, 0],
         [4, 3, 1],
         [8, 2, 4]])
  </code></pre>