0
x_new=np.array([1,2,3])

print(x_new)

x1=x_new.T

print(x1) 

output:

[1 2 3]

[1 2 3]

Can anybody tell me how to transpose this matrix from (1,3) to (3,1)?

Michael Delgado
  • 13,789
  • 3
  • 29
  • 54
AHR99
  • 9
  • 3

0 Answers0