diff --git a/section-2-data-science-and-ml-tools/pandas-exercises-solutions.ipynb b/section-2-data-science-and-ml-tools/pandas-exercises-solutions.ipynb index 991256604..36cc8af71 100644 --- a/section-2-data-science-and-ml-tools/pandas-exercises-solutions.ipynb +++ b/section-2-data-science-and-ml-tools/pandas-exercises-solutions.ipynb @@ -1204,8 +1204,7 @@ ], "source": [ "# Group columns of the car sales DataFrame by the Make column and find the average\n", - "car_sales.groupby(["Make"]).mean(numeric_only=True)" - ] + "car_sales.groupby([\"Make\"]).mean(numeric_only=True)" ] }, { "cell_type": "code",