Skip to content

Commit

Permalink
Merge pull request #85 from zenoper/patch-2
Browse files Browse the repository at this point in the history
Update pandas-exercises-solutions.ipynb
  • Loading branch information
mrdbourke authored Aug 26, 2024
2 parents 14e48b3 + 39a6c9c commit 02b3984
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@
],
"source": [
"# Group columns of the car sales DataFrame by the Make column and find the average\n",
"car_sales.groupby([\"Make\"]).mean()"
"car_sales.groupby(["Make"]).mean(numeric_only=True)"
]
},
{
Expand Down

0 comments on commit 02b3984

Please sign in to comment.