Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

transpose list

x = [[0,1],[2,3]]
np.transpose(x).tolist()
array([[0, 2],
       [1, 3]])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #transpose #list
ADD COMMENT
Topic
Name
9+6 =