From f54966252cbab7ba8d4bd94086110936becf0a12 Mon Sep 17 00:00:00 2001 From: Dong Date: Thu, 19 Feb 2026 23:00:45 -0800 Subject: [PATCH] Clarify that non-numeric columns raise an error --- docs/documentation/Grouping/aggregation/mean().md | 4 ++-- docs/documentation/Grouping/aggregation/median().md | 4 ++-- docs/documentation/Grouping/aggregation/sum().md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/documentation/Grouping/aggregation/mean().md b/docs/documentation/Grouping/aggregation/mean().md index 04fe3f7d..c3a116ca 100644 --- a/docs/documentation/Grouping/aggregation/mean().md +++ b/docs/documentation/Grouping/aggregation/mean().md @@ -14,7 +14,7 @@ import '@site/src/css/function.css';
Note:
-
Only for columns of type int or float, all other columns are automatically dropped.
+
Only for columns of type int or float, columns of other types will result in an error.
@@ -35,4 +35,4 @@ pets.groupby('Species').mean() --- - \ No newline at end of file + diff --git a/docs/documentation/Grouping/aggregation/median().md b/docs/documentation/Grouping/aggregation/median().md index 25bd34d1..7a7ea222 100644 --- a/docs/documentation/Grouping/aggregation/median().md +++ b/docs/documentation/Grouping/aggregation/median().md @@ -14,7 +14,7 @@ import '@site/src/css/function.css';
Note:
-
Only for columns of type int or float, all other columns are automatically dropped.
+
Only for columns of type int or float, columns of other types will result in an err or.
@@ -33,4 +33,4 @@ pets.groupby('Species').median() --- - \ No newline at end of file + diff --git a/docs/documentation/Grouping/aggregation/sum().md b/docs/documentation/Grouping/aggregation/sum().md index c89c14df..de243ba3 100644 --- a/docs/documentation/Grouping/aggregation/sum().md +++ b/docs/documentation/Grouping/aggregation/sum().md @@ -14,7 +14,7 @@ import '@site/src/css/function.css';
Note:
-
Only for columns of type int or float, all other columns are automatically dropped.
+
Only for columns of type int or float, columns of other types will result in an error
@@ -35,4 +35,4 @@ pets.groupby('Species').sum() --- - \ No newline at end of file +