Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bio-IT Workshops
Intermediate Python
Commits
b11f21c6
Verified
Commit
b11f21c6
authored
Jul 20, 2020
by
Toby Hodges
Browse files
fix gapminder dataset paths
parent
6bb08950
Changes
1
Hide whitespace changes
Inline
Side-by-side
_episodes/03-plotting.md
View file @
b11f21c6
...
...
@@ -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')
print(gapminder.head())
~~~
{: .language-python }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment