title: Transposing a 1D NumPy array
body: <p>I use Python and NumPy and have some problems with "transpose":</p>
  
  <pre><code>import numpy as np
  a = np.array([5,4])
  print(a)
  print(a.T)
  </code></pre>
  
  <p>Invoking <code>a.T</code> is not transposing the array.  If <code>a</code> is for example <code>[[],[]]</code> then it transposes correctly, but I need the transpose of <code>[...,...,...]</code>.</p>