Python NumPy ndarray.T Example to convert an array
# 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)