Answers for "function to transpose a matrix in python and print"

0

transpose matrices numpy

import numpy as np

A = [1, 2, 3, 4]
np.array(A).T # .T is used to transpose matrix
Posted by: Guest on May-23-2020

Code answers related to "function to transpose a matrix in python and print"

Python Answers by Framework

Browse Popular Code Answers by Language