Код: Выделить всё
if (condition met):
...
[next(it) for x in range(19)]
Код: Выделить всё
it = df.itertuples()
for row in it:
...
Подробнее здесь: https://stackoverflow.com/questions/793 ... -in-python
Код: Выделить всё
if (condition met):
...
[next(it) for x in range(19)]
Код: Выделить всё
it = df.itertuples()
for row in it:
...