I want to iterate through the dataFrame and write chunks of every 8th row to a new dataframe, like:
for index, row in pdDataset.iterrows():
pdDataset_full.append(pdDataset.loc[index:index+8])
I got the correct output when i print the loop, but ended up with a empty DataFrame
print(len(pdDataset_full))
0