I have a large csv file which repeats data every few lines, I want to split it into multiple data frame from where the headers are repeated: For example, I have these in CSV file:
Order Time Value
1 18:28:54 15
2 19:28:56 11
Order Time Value
3 18:17:13 42
4 19:17:14 50
5 20:40:12 30
Order Time Value
6 14:20:12 5
This sequence continues for more than 20 times in the csv file and I want to have separate data frame created automatically:
df1:
Order Time Value
1 18:28:54 15
2 19:28:56 11
df2:
Order Time Value
3 18:17:13 42
4 19:17:14 50
5 20:40:12 30
df3:
Order Time Value
6 14:20:12 5
And so on...
Thanks