ufunc
numpy.ctypeslib
numpy.dual
numpy.emath
numpy.fft
numpy.linalg
numpy.matlib
numpy.random
numpy.testing
numpy.typing
numpy.distutils
attribute
The transposed array.
Same as self.transpose().
self.transpose()
See also
transpose
Examples
>>> x = np.array([[1.,2.],[3.,4.]]) >>> x array([[ 1., 2.], [ 3., 4.]]) >>> x.T array([[ 1., 3.], [ 2., 4.]]) >>> x = np.array([1.,2.,3.,4.]) >>> x array([ 1., 2., 3., 4.]) >>> x.T array([ 1., 2., 3., 4.])
previous
numpy.ndarray.dtype
next
numpy.ndarray.real