I have a pandas Dataframe containing 44150 rows.
I want to split into sub-dataframes each containing 100 rows except the last that has to contain 50.
I've tried using numpy.array_split but it's splitting it into 392 dataframes of size 100 and 50 dataframes of size 99.
Is there anyway to split it the way I want?