Numpy Break Nombre en parties égales

def split_equal(value, parts):
    value = float(value)
    return [i*value/parts for i in range(1,parts+1)]
batman_on_leave