Search code examples
pandasprogress-bartqdm

TQDM on pandas df.describe()


I saw that TQDM has implemented its progress bar for pandas but in the documentation it only describe the usage for the .apply method. I was wondering if it's possible to implement TQDM progress bar on other pandas operation like for example df.describe().

If this is not possible, is there a way to at least be sure that your Jupiter notebook is still working or is it crashed? eh eh


Solution

  • You can use it like this:

    tqdm.pandas(desc="my bar!")
    df.progress_apply(lambda x: x.describe())
    

    Although it doesn't seem to be useful.