79219011

Date: 2024-11-23 23:14:19
Score: 0.5
Natty:
Report link

You could just use the tqdm library for the progress bar instead of creating your own.

def myf(row):
    row['1'] = 100
    return row

tqdm.pandas(desc="Calculating")
df = df.progress_apply(myf, axis=1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: keithwalsh