The Jupyter Notebook is an interactive computing environment that enables users to author notebook documents that include code, interactive widgets, plots, narrative text, equations, images and even video!
It includes:
-
In-browser editing for code, with automatic syntax highlighting, indentation, and tab completion/introspection.
-
The ability to execute code from the browser, with the results of computations attached to the code which generated them.
-
Displaying the result of computation using rich media representations, such as HTML, LaTeX, PNG, SVG, etc.
-
In-browser editing for rich text using the Markdown markup language, which can provide commentary for the code, and is not limited to plain text.
-
The ability to easily include mathematical notation within markdown cells using LaTeX, and rendered natively by MathJax.
The Jupyter Notebook combines three components:
-
The notebook web application: An interactive web application for writing and running code interactively and authoring notebook documents.
-
Kernels: Separate processes started by the notebook web application that runs users’ code in a given language (e.g. python, R, Julia, Go, and more -- get the full list of kernels from the wiki) and returns output back to the notebook web application. The kernel also handles things like computations for interactive widgets, tab completion and introspection.
-
Notebook documents: Self-contained documents that contain a representation of all content visible in the notebook web application, including inputs and outputs of the computations, narrative text, equations, images, and rich media representations of objects. Each notebook document has its own kernel. You can export your notebook as many other formats, even LaTex and PDF!
Operating System Needed and Installing Jupyter Notebooks
Jupyter Notebooks runs on Windows, MacOS, and Linux.
You can install Jupyter notebooks and some key kernels on your computer in a few ways:
Our recommended method is to download using Anaconda (make sure you select version 3.*), which gives you Jupyter, python 3, and a lot of key python libraries for research: https://www.anaconda.com/download/. After you've finished downloading + installing with Anaconda, you should see an application "Jupyter notebooks" in your list of applications.
If you're comfortable with the terminal you can also install Jupyter Notebooks with pip:
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
jupyter notebooks # launches the notebook interface
Additional installations possibilities are available here: https://jupyter.readthedocs.io/en/latest/install.html
Documentation, Classes, and other Sources of Information
Jupyter Notebooks documentation is available here: https://jupyter-notebook.readthedocs.io/en/stable/index.html.
There are many free Jupytor Notebooks tutorials available to get you started. Here are a few:
There are also many Jupyter Notebooks courses available for a fee. Douglas Hollis provides a list of top 10 Jupyter Notebooks Training Courses.
You can also learn about Jupyter Notebooks from books--a few are available for free via AOK OneSearch. Here are some select ebooks on Jupyter
There are more specialized ebooks on using Jupyter Notebooks with specific types of data and specific disciplines, so you might want to search the library catalog for a book that more specifically addresses what you want to do.