Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np.transpose(x) array([[0, 2], [1, 3]])

>>> x = np.arange(4).reshape((2,2))
>>> x
array([[0, 1],
       [2, 3]])
Source by docs.scipy.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+6 =