13.1. Background reading for Jupyter Notebooks

The Jupyter Notebook is an ideal tool for exploratory data analysis. It provides a place where you can carry out your data processing, computation, plotting and even writing (using Markdown) in one stop. Also, it supports more programming languages than just Python: Julia, R, etc. In this course, we will only use Python for its well developed ecosystem in data science and scientific computing.

Below we only cover several key points for using Jupyter Notebooks. A more complete tutorial can be found here.

13.1.1. Jupyter Notebook Extensions

In addition to the Jupyter Notebook itself, we recommend Jupyter Notebook Extensions as well, which can further enhance your productivity in the Jupyter Notebook environment. A good guide can be found here.

Among a variety of extensions, the following are considered essential and particularly useful for this course, and many other data-analysis-oriented ones:

  1. Table of Contents: this extension helps building well-structured notebooks and allows easier navigation.

  2. Collapsible Headings: this tool further enhances the power of the above one by allowing collasible sections, particularly useful for large notebooks.

  3. ExecuteTime: this gadget reports the executation time of each cell so you can always have a measure of the code efficiency.

  4. Code prettify: this tool quickly formats your Python code with a pretty and tidy layout.

13.1.2. Best Practice

A good guide can be found here.

Structuring your notebook is key. This post helps you set up a Notebook with a good structure.

Tip

  1. Stuck? the help and FAQ pages are useful places to start.

  2. Please report workshop manual issues at GitHub Issues. Go from the page with the problem - an automatical link will be inserted. Thanks.