{
  "name": "Jupyter notebook progress bar options: import, install and documented behaviour",
  "description": "Compares the progress-bar routes for Jupyter notebooks (tqdm.auto, tqdm.notebook, tqdm.pandas and ipywidgets IntProgress). Compiled from the tqdm and ipywidgets project documentation: import or constructor, install command and the behaviour each page states.",
  "page": "https://casrai.org/guides/jupyter-notebook-progress-bar",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T21:57:52Z",
  "temporalCoverage": "Checked 2026-11-14",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Option",
      "unit": "",
      "description": ""
    },
    {
      "name": "Import or constructor",
      "unit": "",
      "description": ""
    },
    {
      "name": "Install command",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented behaviour",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Option": "tqdm.auto",
      "Import or constructor": "from tqdm.auto import tqdm",
      "Install command": "pip install tqdm",
      "Documented behaviour": "Automatically chooses between tqdm.notebook and tqdm.tqdm"
    },
    {
      "Option": "tqdm.notebook",
      "Import or constructor": "from tqdm.notebook import trange, tqdm",
      "Install command": "pip install tqdm",
      "Documented behaviour": "Native Jupyter widget with nested bars and colour hints; described as experimental"
    },
    {
      "Option": "tqdm.autonotebook",
      "Import or constructor": "from tqdm.autonotebook import tqdm",
      "Install command": "pip install tqdm",
      "Documented behaviour": "Issues TqdmExperimentalWarning in a notebook; project advises auto instead"
    },
    {
      "Option": "tqdm.pandas",
      "Import or constructor": "tqdm.pandas(desc='...') then df.progress_apply(...)",
      "Install command": "pip install tqdm",
      "Documented behaviour": "Adds progress_apply and progress_map to pandas; can register tqdm.notebook.tqdm"
    },
    {
      "Option": "ipywidgets IntProgress",
      "Import or constructor": "widgets.IntProgress(value=7, min=0, max=10, description='Loading:')",
      "Install command": "pip install ipywidgets",
      "Documented behaviour": "Manual widget with bar_style success/info/warning/danger and a bar_color style; FloatProgress takes floats"
    }
  ],
  "sources": [
    {
      "title": "tqdm documentation: notebook",
      "url": "https://tqdm.github.io/docs/notebook/",
      "accessed": "2026-11-14"
    },
    {
      "title": "tqdm README",
      "url": "https://github.com/tqdm/tqdm",
      "accessed": "2026-11-14"
    },
    {
      "title": "ipywidgets Widget List",
      "url": "https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "ipywidgets user install",
      "url": "https://ipywidgets.readthedocs.io/en/stable/user_install.html",
      "accessed": "2026-11-14"
    }
  ]
}