Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Jupyter 101

Shortcuts for Cells

For the following commands, make sure you’re in command mode. You can enter this mode by pressing esc.

Running Cells

For individual cells,

To run all cells in a notebook:

"Gif showing exactly where to click to run all cells

Saving your notebook

Jupyter autosaves your work, but there can be a delay. As such, it’s a good idea to save your work as often as you remember and especially before submitting assignments. To do so, press ctrl + s.

Restarting Kernel

In the menu bar on the left, click Kernel. From here, you have several options. The ones we use most commonly are:

Gif showing exactly where to click to access the mostly frequently used kernel options.

Automatically Closing Brackets

Many IDEs like VSCode have a functionality that automatically closes brackets. For example, pressing (, {, or [ would automatically add the second bracket at the other end ), }, and ], respectively. Datahub does not have this functionality turned on by default, but you can do so by going into Settings -> Auto Close Brackets. If you see a check mark to the left of Auto Close Brackets, then it’s enabled.

Gif showing how to toggle autoclose bracket