From 5b1aad08a2097e4a416dd2d6154a46531396723b Mon Sep 17 00:00:00 2001 From: arpadikuma <121082686+arpadikuma@users.noreply.github.com> Date: Wed, 4 Sep 2024 03:29:21 +0200 Subject: [PATCH] added escape characters to double quotation added escape characters to code breaking double quotation within double quotation enclosed string --- .../pandas-exercises-solutions.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..8572bdf26 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,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(numeric_only=True)" + "car_sales.groupby([\"Make\"]).mean(numeric_only=True)" ] }, {