From e68c87353ce55c25e8418274f08f4c9f0a7d79bd Mon Sep 17 00:00:00 2001 From: Kevin Doshi Date: Wed, 4 Sep 2024 01:12:48 +0530 Subject: [PATCH 1/3] Changed to GroupBy --- pandas/core/groupby/groupby.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 5b718f0ce2a29..0ea5db6eec037 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -414,9 +414,9 @@ class providing the base-class of operations. See Also -------- -{klass}.groupby.apply : Apply function func group-wise +{klass}.GroupBy.apply : Apply function func group-wise and combine the results together. -{klass}.groupby.transform : Transforms the Series on each group +{klass}.GroupBy.transform : Transforms the Series on each group based on the given function. {klass}.aggregate : Aggregate using one or more operations. From 60753c66b0aa915aa7724ba13b9d77c12374267b Mon Sep 17 00:00:00 2001 From: Kevin Doshi <118382123+doshi-kevin@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:36:47 +0530 Subject: [PATCH 2/3] Update pandas/core/groupby/groupby.py Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> --- pandas/core/groupby/groupby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 0ea5db6eec037..f229ab5e05abc 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -416,7 +416,7 @@ class providing the base-class of operations. -------- {klass}.GroupBy.apply : Apply function func group-wise and combine the results together. -{klass}.GroupBy.transform : Transforms the Series on each group +{klass}GroupBy.transform : Transforms the Series on each group based on the given function. {klass}.aggregate : Aggregate using one or more operations. From e3d13105cc49f4c839c49e4916a8f16b6cc19a1a Mon Sep 17 00:00:00 2001 From: Kevin Doshi <118382123+doshi-kevin@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:36:57 +0530 Subject: [PATCH 3/3] Update pandas/core/groupby/groupby.py Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> --- pandas/core/groupby/groupby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index f229ab5e05abc..79fe78b7e5405 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -414,7 +414,7 @@ class providing the base-class of operations. See Also -------- -{klass}.GroupBy.apply : Apply function func group-wise +{klass}GroupBy.apply : Apply function func group-wise and combine the results together. {klass}GroupBy.transform : Transforms the Series on each group based on the given function.