I have a dataframe
and need to break it into 2 equal dataframes
.
1st dataframe would contain top half rows and 2nd would contain the remaining rows.
Please help how to achieve this using python
.
Also in both the even rows scenario and odd rows scenario (as in odd rows I would need to drop the last row to make it equal).