np.transpose (x) массив ([[0, 2], [1, 3]])
>>> x = np.arange(4).reshape((2,2))
>>> x
array([[0, 1],
[2, 3]])
Powerful Polecat
>>> x = np.arange(4).reshape((2,2))
>>> x
array([[0, 1],
[2, 3]])