Skip to content

Commit 821b660

Browse files
committed
Add some text
1 parent 7976b4a commit 821b660

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

notebooks/population.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 18,
5+
"execution_count": 1,
66
"metadata": {},
77
"outputs": [],
88
"source": [
@@ -11,19 +11,15 @@
1111
]
1212
},
1313
{
14-
"cell_type": "code",
15-
"execution_count": 19,
14+
"cell_type": "markdown",
1615
"metadata": {},
17-
"outputs": [],
1816
"source": [
19-
"df = pandas.read_csv('../data/atlantis.csv')\n",
20-
"x = df['year']\n",
21-
"y = df['population']"
17+
"Let's plot some data from a CSV file. Edit `data/atlantis.csv` and re-run this cell to see your changes."
2218
]
2319
},
2420
{
2521
"cell_type": "code",
26-
"execution_count": 20,
22+
"execution_count": 2,
2723
"metadata": {},
2824
"outputs": [
2925
{
@@ -38,6 +34,10 @@
3834
}
3935
],
4036
"source": [
37+
"df = pandas.read_csv('../data/atlantis.csv')\n",
38+
"x = df['year']\n",
39+
"y = df['population']\n",
40+
"\n",
4141
"plt.plot(x,y)\n",
4242
"plt.title(\"Population of Atlantis\")\n",
4343
"plt.xlabel('Population')\n",

0 commit comments

Comments
 (0)