Search
 
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
Name
6+2 =