title: What does X.T in Python do?
body: <p>I am very new to Python.  I am using the transpose operator in the numpy package:</p>
  
  <pre><code>&gt;&gt;&gt; import numpy as np
  &gt;&gt;&gt; X = np.array([[1,2,3],[4,5,6]])
  &gt;&gt;&gt; np.T(X)
  Traceback (most recent call last):
    File "&lt;pyshell#8&gt;", line 1, in &lt;module&gt;
      np.T(X)
  AttributeError: 'module' object has no attribute 'T'
  </code></pre>
  
  <p>Why is it that this is an error, yet <code>X.T</code> works?  Furthermore, <code>X.np.T</code> fails. On the other hand, <code>np.fft.fft(X)</code> succeeds, but <code>X.fft.fft</code> fails.</p>
  
  <p>Thanks all!</p>