numpy break number in equal parts code example
Example: numpy break number in equal parts
def split_equal(value, parts):
value = float(value)
return [i*value/parts for i in range(1,parts+1)]
def split_equal(value, parts):
value = float(value)
return [i*value/parts for i in range(1,parts+1)]