log-progress icon indicating copy to clipboard operation
log-progress copied to clipboard

iterrows

Open vfridkin opened this issue 7 years ago • 1 comments

Trying with iterrows to iterate through data frame rows:

for index, c in log_progress(df_search.iterrows(), every=1):

It doesn't seem to be able to identify the number of items.
image

vfridkin avatar May 07 '18 04:05 vfridkin

Just use size=len(df) as an additional keyword when invoking. Because df.itertuple() returns an iterator, not a list.

1kastner avatar Jun 22 '18 12:06 1kastner