Skip to content

Commit b398f6a

Browse files
committed
minor edits
1 parent 72ff506 commit b398f6a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lessons/3_Pandas.ipynb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@
146146
"df = pd.read_csv('../data/gapminder.csv')"
147147
]
148148
},
149+
{
150+
"cell_type": "code",
151+
"execution_count": null,
152+
"metadata": {},
153+
"outputs": [],
154+
"source": [
155+
"df['country'].value_counts().sort_index()"
156+
]
157+
},
149158
{
150159
"cell_type": "markdown",
151160
"metadata": {},
@@ -418,6 +427,15 @@
418427
"Fill in the code below to subset our data frame to include only people with a life expectancy (`lifeExp`) less than 50."
419428
]
420429
},
430+
{
431+
"cell_type": "code",
432+
"execution_count": null,
433+
"metadata": {},
434+
"outputs": [],
435+
"source": [
436+
"df.shape"
437+
]
438+
},
421439
{
422440
"cell_type": "code",
423441
"execution_count": null,

0 commit comments

Comments
 (0)