Jupyter Notebook Cheat Sheet

 

Created on: 6/12/19
Last update: 6/12/19

Installing Jupyter Notebook

Jupyter Notebook is included in Anaconda distribution. Please refer Anaconda installation docs for details.

Running Jupyter

The default port of Jupyter is 8888, to running Jupyter on other port, add port argument.

jupyter notebook
jupyter notebook --port 9999

Start notebook server without opening a web browser:

jupyter notebook --no-browser

Specifying Python Kernel for Jupyter Notebook

Install nb_conda package in the conda environment 1:

conda install nb_conda

Then the “Change kernel” option will be added in the kernel menu of Jupyter Notebook.

Reference

Installing the Jupyter Software

Running the Notebook

Jupyter Notebook Tutorial: Introduction, Setup, and Walkthrough