Class 1: Two examples

Two introductory examples to get the course started

Example 1: Hello world


In [1]:
# Print the character string `hello world`

Example 2: Make a plot of the US unemployment rate

Download data from FRED (https://fred.stlouisfed.org/) and make a well-labeled plot


In [2]:
# Import the series function from fredpy


# Import the plotting library matplotlib.pyplot as plt


# Specify that you want plots displayed in the Jupyter Notebook and not in an external window


# Download the unemployment data from 


# Create a plot of the unemployment rate


# Save the figure to the current working directory at 120 dots per inch resolution