avatarAlexander Osipenko

Summary

The undefined website provides an overview of essential Jupyter Lab extensions for Data Scientists, including LaTeX, HTML, drawio, plotly, and bokeh, which enhance the functionality of Jupyter Lab for documentation, visualization, and interactive reporting.

Abstract

The undefined website content discusses the author's top picks for Jupyter Lab extensions that are particularly useful for Data Scientists. Jupyter Lab, an evolution of the iPython Notebook, is praised for its clean and intuitive interface, making it a first choice for tasks such as exploratory analysis, visualization building, and report creation. The article highlights five key extensions: JupyterLab LaTeX for documenting research with flexibility; JupyterLab HTML for rendering HTML files within Jupyter Lab, useful for web visualizations; JupyterLab drawio for creating diagrams directly within the environment; JupyterLab plotly for rendering interactive and effective charts; and JupyterLab bokeh for JavaScript-based interactive visualizations. The author emphasizes the importance of these tools in sharing findings and managing research in scientific and enterprise contexts, noting the growing popularity of Jupyter Lab in various scientific fields.

Opinions

  • The author highly recommends Jupyter Lab for Data Science tasks due to its clean interface and suitability for the field.
  • LaTeX is considered a critical tool for documenting and passing on data science findings to stakeholders.
  • The ability to render HTML files within Jupyter Lab is seen as useful for opening and interacting with web-based visualizations like d3.
  • The author expresses a preference for using drawio within Jupyter Lab, appreciating the convenience of creating diagrams directly in the environment.
  • Plotly and Bokeh are both highlighted for their ability to create interactive visualizations, with the latter being JavaScript-based.
  • The author believes that Jupyter Lab's features, including the mentioned extensions, facilitate the sharing of findings and the management of research, which is crucial in data science.
  • There is an appreciation for the growing trend of including executable code within scientific papers, which Jupyter Lab supports through its interactive notebooks.

Jupyter Lab extensions for Data Scientist

Hi! Wanna share my personal top of Jupyter Lab extensions that I used on a daily basis.

If you don’t know what Jupyter is, I highly recommend to try it out! In a few words Jupyter is IDE that works both with Python and R. It have very clean and intuitive interface. And it’s very much suitable for Data Science purposes.

I started to use Jupyter in 2014, back then it was called iPython Notebook. Since then it’s my first choice, if I need to do some exploratory analysis, build visualizations or make a report and share my findings.

Source: https://github.com/jupyterlab/jupyterlab

Installation:

pip install jupyterlab
# or if you use conda:
conda install -c conda-forge jupyterlab

1. JupyterLab LaTeX

When it comes to Data Science it is very critical to be able to pass your finding to all stakeholders, or just simply document your research. LaTex is very useful and flexible tool for that.

Source: https://github.com/jupyterlab/jupyterlab-latex

Installation:

# to install server extension
pip install jupyterlab_latex
# to install jupyter extension
jupyter labextension install @jupyterlab/latex

Usage:

You will need to create text file, change it extension to .tex, then inside this file choose Show LaTeX Preview using mouse right-click

2. JupyterLab HTML

This extension allow you to render HTML file inside of Jupyter Lab, which is can be useful when you need to open for example d3 visualization.

Source: https://github.com/mflevine/jupyterlab_html

Installation:

jupyter labextension install @mflevine/jupyterlab_html

Usage:

Simply click on html file to open it

3. JupyterLab drawio

I really love drawio and used to use it from their web-interface, but with this extension it possible to draw schemes directly from jupyter lab.

Source: https://github.com/QuantStack/jupyterlab-drawio

Installation:

jupyter labextension install jupyterlab-drawio

Usage:

After installation you will see option to create diagram in your launcher

4. JupyterLab plotly

Plotly is a very cool visualization library that allows to create effective and interactive charts very easily.

Source: https://www.npmjs.com/package/@jupyterlab/plotly-extension

Installation:

jupyter labextension install @jupyterlab/plotly-extension

Usage:

With this extension your plotly visualization will be rendered directly in a notebook.

5. JupyterLab bokeh

Bokeh is another js based library for interactive visualization

Source: https://github.com/bokeh/jupyterlab_bokeh

Installation:

jupyter labextension install jupyterlab_bokeh

Usage:

Same like with plotly

Conclusion:

In Science in general and particularly in Data Science it is very important to share your findings with other. Jupyter allows us to do it easily. It became more in more popular among scientists from a different fields. It is very cool to see papers with code written in a jupyter notebook, so you can run the code and check results by you own. With same logic Jupyter can help us better manage researches in enterprise, by allowing us to create interactive reports.

Data Science
Jupyter
Jupyter Notebook
Jupyter Lab
Recommended from ReadMedium