mirror of https://github.com/tqdm/tqdm.git
parent
a0d64a9914
commit
b502f0d961
|
@ -559,7 +559,7 @@ class tqdm(object):
|
|||
"""
|
||||
|
||||
# Precompute total iterations
|
||||
total = getattr(df, 'ngroups', None)
|
||||
total = tkwargs.pop("total", getattr(df, 'ngroups', None))
|
||||
if total is None: # not grouped
|
||||
if df_function == 'applymap':
|
||||
total = df.size
|
||||
|
|
Loading…
Reference in New Issue