# welcome to softhunt.net # import numpy import numpy as np array = np.arange(16) # using numpy.split() method softhunt = np.split(array, 6) print(softhunt)