How to fix tqdm progress_apply for pandas in Jupyter?

后端 未结 5 1977
别那么骄傲
别那么骄傲 2020-12-31 07:19

Don\'t really understand is it a mistake or just my local problem, still have some issues with using tqdm progress bars with progress_apply in Jupyter.

5条回答
  •  一生所求
    2020-12-31 07:34

    This is what I run in my jupyter notebooks, and then progress_apply works:

    from tqdm import tqdm, tqdm_notebook
    tqdm_notebook().pandas()
    

    I had been getting an error without the () after tqdm_notebook

提交回复
热议问题