Python Numpy Array_split Пример 02
# welcome to softhunt.net
# import numpy
import numpy as np
array = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
# using numpy.array_split() method
softhunt = np.array_split(array, 3)
print(softhunt)
Outrageous Ostrich