Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python using numpy

import numpy as np

my_list = [1,2,3,4,5,6,7,8,9]
print(np.array_split(my_list, 5))
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #numpy
ADD COMMENT
Topic
Name
9+4 =