title: What is the easiest way to make tuples of the rows in an array?
body: <p>Say I have an <code>X by 2</code> np.ndarray.</p>
  
  <pre><code>1 2
  3 4
  3 6
  </code></pre>
  
  <p>What is the easiest way to make tuples out of the rows</p>
  
  <pre><code>  (1 ,2)
    (3, 4)
    (3, 6)
  </code></pre>
  
  <p>other than</p>
  
  <pre><code>L = [ tuple(A[i,:]) for i in range(X)]
  
  L = array(L)
  </code></pre>
  
  <p>Is there a built in function to do this?</p>