DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
transpose matrices numpy
import numpy as np A = [1, 2, 3, 4] np.array(A).T # .T is used to transpose matrix
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#transpose
#matrices
#numpy
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit