Python numpy ndarray.t ejemplo para convertir una matriz

# welcome to softhunt.net
# import the important module in python
import numpy as np
		
# make an array with numpy
arr = np.array([[1, 3, 5], [2, 4, 6]])
		
# applying ndarray.T object
softhunt = arr.T

print(softhunt)
Outrageous Ostrich