Answers for "how can I do transpose of matrix in python?"

0

transpose of a matrix using numpy

M = np.matrix([[1,2],[3,4]])

M.transpose()
Posted by: Guest on April-13-2021

Code answers related to "how can I do transpose of matrix in python?"

Python Answers by Framework

Browse Popular Code Answers by Language