'i m trying to execute a python program and there's an error in the in the site packages program for the package numpy.. needed insights

''

Traceback (most recent call last):
  File "E:\major project\New folder\satishGpgsvandrrx.py", line 41, in <module>
    splits = np.array_split(row_new, number_of_repitations)
  File "<__array_function__ internals>", line 6, in array_split
  File "E:\Program Files\Python\lib\site-packages\numpy\lib\shape_base.py", line 778, in array_split
    raise ValueError('number sections must be larger than 0.') from None
ValueError: number sections must be larger than 0.

'' .

need help with the above error



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source