Data Science Jupyter Notebook Extension

atidua's avatar
Published Feb 7, 2025

Jupyter Notebook extensions are add-ons that enhance the functionality of the Jupyter Notebook interface. They allow users to customize and improve their experience by adding various features.

  • Machine Learning/AI Engineers build end-to-end ML applications and power many of the apps we use every day. They work in Python, Git, & ML.
    • Includes 7 Courses
    • With Certificate
    • Intermediate.
      50 hours
  • Learn to make effective data visualizations in Python with Matplotlib and Seaborn.
    • Includes 6 Courses
    • With Certificate
    • Beginner Friendly.
      8 hours

Examples of Jupyter Notebook Extensions

  1. Code Folding: The jupyter_fold extension helps users focus on specific sections by enabling code cells to be folded and unfolded.
  2. Spellchecking: The spellchecker extension highlights misspelt words in both code and Markdown cells.
  3. Table of contents: The toc extension automatically generates a table of contents based on Markdown headers, improving navigation within a notebook.

Installing Jupyter Notebook extensions

The Jupyter Notebook extensions are available through the open-source package jupyter_contrib_nbextensions. This Python package provides several unofficial extensions designed to enhance Jupyter Notebook’s capabilities.

To install it, run the following command:

pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install --user

To add the nbextensions to the Jupyter server’s search directory, use:

jupyter contrib nbextension install

Enabling/Disabling Extensions

After installation, users need to enable specific extensions like this:

jupyter nbextension enable <extension-name>

And to disable:

jupyter nbextension disable <extension-name>

All contributors

Learn Data Science on Codecademy

  • Machine Learning/AI Engineers build end-to-end ML applications and power many of the apps we use every day. They work in Python, Git, & ML.
    • Includes 7 Courses
    • With Certificate
    • Intermediate.
      50 hours
  • Learn to make effective data visualizations in Python with Matplotlib and Seaborn.
    • Includes 6 Courses
    • With Certificate
    • Beginner Friendly.
      8 hours