Use numpy.array_split()
:
In [4]: import numpy as np
In [5]: np.array_split(df, 18)
This will return you a list with 18
elements, each in itself in a df
.
CLICK HERE to find out more related problems solutions.
Use numpy.array_split()
:
In [4]: import numpy as np
In [5]: np.array_split(df, 18)
This will return you a list with 18
elements, each in itself in a df
.
CLICK HERE to find out more related problems solutions.