Python Numpy Moveaxis Function Пример 02
# welcome to softhunt.net
# Python program explaining
# numpy.moveaxis() function
# importing numpy as np
import numpy as np
arr = np.zeros((4, 3, 2, 1))
softhunt = np.moveaxis(arr, -1, 0).shape
print (softhunt)
Outrageous Ostrich