JupyterLab: Sane Defaults and Extensions for Basic DS Work
Last updated:Table of Contents
- Enable third-party extensions
- Install Table of Contents extension
- Install Execute-time Extension
- Install Collapsible Headings extension
Enable third-party extensions
![enable-third-party-extensions-in-jupyterlab](http://queirozf.com/images/contents/CA30A43.png)
Install Table of Contents extension
The table of contents extension is built-in JupyterLab since version 3.0
Install Execute-time Extension
Very useful for long-running cells or to help you keep track of which cells you ran when.
![execute-time-extension](http://queirozf.com/images/contents/HOesabl.png)
no more need to add
%%time
at the start of every cell
This is installed via pip
$ pip install jupyterlab_execute_time
After installing you need to add {"recordTiming": true}
to the notebook configuration:
![set-record-timing-to-true](http://queirozf.com/images/contents/7tMYTBD.gif)
to set this configuration option
Install Collapsible Headings extension
Install it via the Extension tab:
![install-collapsible-headings-extension-tab](http://queirozf.com/images/contents/qFzdyx0.png)
"collapsible"
in the search bar and then click Install
![collapsible-headers](http://queirozf.com/images/contents/eKtJIpj.gif)