I'm iterating through a dataset with .iter_rows()
:
for row in dataset.iter_rows():
print row
print
For a reason that isn't relevant to the question, I'd like to skip the first 20 rows, for instance. Is this possible in a cleaner way than this trick ?
skip = 20
i = 0
for row in dataset.iter_rows():
i += 1
if i <= skip:
continue
print row
print