From 0aa4e8503bd3a7425da9f2d787e60f0ee30470cf Mon Sep 17 00:00:00 2001 From: SaadAli Date: Fri, 12 Sep 2025 00:34:44 +0530 Subject: [PATCH] Update Exercise_with_Solutions.ipynb --- .../Chipotle/Exercise_with_Solutions.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_Getting_&_Knowing_Your_Data/Chipotle/Exercise_with_Solutions.ipynb b/01_Getting_&_Knowing_Your_Data/Chipotle/Exercise_with_Solutions.ipynb index 32d1e7df8..162700786 100644 --- a/01_Getting_&_Knowing_Your_Data/Chipotle/Exercise_with_Solutions.ipynb +++ b/01_Getting_&_Knowing_Your_Data/Chipotle/Exercise_with_Solutions.ipynb @@ -761,7 +761,7 @@ "source": [ "# Solution 2\n", "\n", - "chipo.groupby(by=['order_id']).sum().mean()['revenue']" + "chipo.groupby('order_id')['revenue'].sum().mean()" ] }, {