DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+6 =
Submit