Skip to content

Missing total for DataFrame.progress_apply #351

@kpj

Description

@kpj

Hello,

I am using tqdm version 4.11.2 and pandas version 0.19.2.
When I try the minimal example

import pandas as pd
from tqdm import tqdm

tqdm.pandas()
df = pd.DataFrame({1:[1], 2:[2], 3:[3]})
foo = df.progress_apply(lambda x: x+1)

the output is

4it [00:00, 2616.13it/s]

instead of a progressbar counting up to 4.

Am I missing something? I took a short peek at the code, but total seems to be set correctly, so I am not sure what exactly is going on.

#299 seems to be a similar issue, but focuses on a different problem, I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions