Jupyter Notebook “Nbextensions”
It’s very common some students ask me about the extensions for Jupyter notebook that I use. In this article I would like to show the extensions that I most like and why.
But what is?
Nbextensions are add-ons that extend the basic functionality of the notebook environment and help us work faster and more organized. They are plugins written in JavaScript that do things like automatically format the code, correct or send a notification to the browser and many others. In my opinion they are great tools to improve our productivity.
How I install Nbextensions?
Nbextensions com pip :
pip install jupyter_contrib_nbextensions pip install jupyter_nbextensions_configurator jupyter contrib nbextension install --user jupyter nbextensions_configurator enable --user
Nbextensions com terminal do Anaconda :
conda install -c conda-forge jupyter_contrib_nbextensions
conda install -c conda-forge jupyter_nbextensions_configurator
jupyter contrib nbextension install --user
Enabling Nbextensions
The installation will add a tab to your Jupyter Notebook where you can check and check which extensions you want to enable.
First enable by unflagging then enable the desired extensions and enjoy the productivity benefits!
My Top 5 extensions:
1. Hide Input
Shows or hides the code of the selected cell
2. Hinterland
Activate the code autocomplete menu
3. Table of contents(2)
Lets you collect all running headers and display them in a floating window, like a sidebar or with a navigation menu.
4. ExecuteTime
Displays when each cell ran and how long it took
5. Split Cells Notebook
Enable split cells in Jupyter notebooks
To finish…
I show all the ones I normally enable:
Do you suggest others?
Leave your comments.