Aug-19-2021, 04:25 PM
I just figured out this works to print out every 10th row in one df:
df.iloc[::10,]Why did I not need double brackets, though? In this case:
df.iloc[7]I get a series and only if I use double brackets around the 7 do I get a one-row dataframe.