Getting Started


Figure 1

screenshot of the launch button for JuypterLab in Anaconda Navigator
Launch JupyterLab from Anaconda Navigator

Figure 2

screenshot of the JupyterLab for launching notebook
Launching a new Python 3 Notebook

Figure 3

screenshot of the Jupyter notebook dropdown to change a cell to Markdown
Changing a cell from Code to Markdown

Variables and Types


Lists


Built-in Functions and Help


Libraries & Pandas


For Loops


Figure 1

Loop variable 'num' being assigned the value of each element in the list odds in turn and then being printed

Looping Over Data Sets


Using Pandas


Conditionals


Writing Functions


Tidy Data with PandasTidy Data in Pandas


Figure 1

image showing variables in columns, observations in rows, and values in cellssan
Tidy Data

Data Visualisation


Figure 1

Line plot of zip code, ytd, year, and circulation numbers over time from the albany DataFrame

Figure 2

Line plot of the Albany Park branch circulation showing a big drop from 2013 to 2014.

Figure 3

Line plot of the Albany Park branch circulation with matplotlib styles applied.

Figure 4

Area plot of the Albany Park branch circulation.

Figure 5

histogram of the Albany branch circulation.

Figure 6

image showing the circulation of the Chinatown branch over ten years
Chinatown plot

Figure 7

image showing the circulation of the Uptown branch with labels
Uptown plot

Figure 8

a bar plot of the top five branch circulation figures
Top five circulation branches

Wrap-Up