title: How does NumPy's transpose() method permute the axes of an array?
body: <pre><code>In [28]: arr = np.arange(16).reshape((2, 2, 4))
  
  In [29]: arr
  Out[29]: 
  array([[[ 0,  1,  2,  3],
          [ 4,  5,  6,  7]],
  
         [[ 8,  9, 10, 11],
          [12, 13, 14, 15]]])
  
  
  In [32]: arr.transpose((1, 0, 2))
  Out[32]: 
  array([[[ 0,  1,  2,  3],
          [ 8,  9, 10, 11]],
  
         [[ 4,  5,  6,  7],
          [12, 13, 14, 15]]])
  </code></pre>
  
  <p>When we pass a tuple of integers to the <code>transpose()</code> function, what happens? </p>
  
  <p>To be specific, this is a 3D array: how does NumPy transform the array when I pass the tuple of axes <code>(1, 0 ,2)</code>? Can you explain which row or column these integers refer to? And what are axis numbers in the context of NumPy?</p>