Getting Started with Jupyter Notebooks in Workspaces

This documentation is for Dash Enterprise.
Dash Enterprise is the fastest way to write & deploy Dash apps and
Jupyter notebooks.
10% of the Fortune 500 uses Dash Enterprise to productionize AI and
data science apps. Find out if your company is using Dash Enterprise.

A notebook is a web-based interface to a document that contains runnable code, visualizations, and narrative text.

In this chapter, we will go over how to create, open, saving, and uploading Jupyter notebooks.

Creating a Jupyter Notebook

To work with Jupyter Notebooks within Dash Enterprise Workspaces, create a Jupyter Notebook.
Dash Enterprise Workspaces use the same Python version in the Jupyter kernel as is used when running your Dash app from the terminal. You do not need to manually activate or create a Python kernel or virtual environment.

To create a new Jupyter notebook:

  1. In your workspace, select the New Jupyter Notebook button.

New Jupyter Notebook button

  1. Enter a name for your notebook; then select OK. The .ipynb extension is added automatically.

Opening a Jupyter Notebook File

To open your Jupyter notebook file, select it in the Explorer tab on the left of the screen. Jupyter notebooks have the extension .ipynb.

Saving a Jupyter Notebook

Once you’re in your notebook, you can save any changes by selecting the Save icon on the Jupyter Notebook Editor toolbar.

Jupyter Save Notebook

You can also use the keyboard shortcut: Ctrl+S (Windows/Linux) or Command+S (Mac).

Uploading a Jupyter Notebook

If you have a notebook on your local machine that you would like to work with in Workspaces, drag it to the Explorer tab.

Upload Jupyter Notebook

Working with the Jupyter UI

To learn more about the Jupyter Notebooks interface see the official Jupyter help by selecting Help from within a notebook.

If you haven’t used notebooks before, learn more in the Overview of the UI“>https://jupyter-notebook.readthedocs.io/en/v6.4.8/examples/Notebook/Notebook%20Basics.html#Overview-of-the-Notebook-UI) and Running code sections.

In the help menu, you’ll also find a link to a list of keyboard shortcuts and a UI interface tour, which provides an interactive guide to notebooks:

Notebooks UI tour