To transpose a matrix in numpy, use the .T
attribute.
some_matrix.T
See the documentation and the Wikipedia page on matrix transposition.
To transpose a matrix in numpy, use the .T
attribute.
some_matrix.T
See the documentation and the Wikipedia page on matrix transposition.