I am learning Python and I have the following doubt about the NumPy
library:
I have the following 2x2 matrix:
a = np.array([[2,4],[5,1]])
This matrix gives the following output:
[[2 4] [5 1]]
Nevertheless, I would like to reorder the elements to obtain:
[[5 1] [2 4]]