Verified Commit b11f21c6 authored by Toby Hodges's avatar Toby Hodges
Browse files

fix gapminder dataset paths

parent 6bb08950
......@@ -639,13 +639,13 @@ it is possible to plot data in a pandas `DataFrame` or `Series`
directly from the object itself.
By default, pandas uses Matplotlib to create these plots.
To demonstrate this, we will borrow a dataset
To demonstrate this, we will borrow [a dataset](../data/gapminder_all.csv)
prepared by [Software Carpentry][swc-gapminder-data]
containing data on GDP and population size from [Gapminder][gapminder].
import pandas as pd
gapminder = pd.read_csv('../data/gapminder_all.csv', index_col='country')
gapminder = pd.read_csv('data/gapminder_all.csv', index_col='country')
{: .language-python }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment