Skip to content

Commit 565d810

Browse files
authored
Merge pull request #170 from Utkarsh-Karambhe/master
Fix TypeError in Step 6 by adding numeric_only=True to groupby.mean()
2 parents 3928b5c + a9e4399 commit 565d810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03_Grouping/Alcohol_Consumption/Exercise_with_solutions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
}
342342
],
343343
"source": [
344-
"drinks.groupby('continent').mean()"
344+
"drinks.groupby('continent').mean(numeric_only=True)"
345345
]
346346
},
347347
{

0 commit comments

Comments
 (0)