Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python split range into n groups

import numpy
x = range(25)
l = numpy.array_split(numpy.array(x),6)
 
PREVIOUS NEXT
Tagged: #python #split #range #groups
ADD COMMENT
Topic
Name
6+3 =