From ca1fd68c421967eaf5faf43e484e43c571790e2d Mon Sep 17 00:00:00 2001 From: shriyakalakata Date: Mon, 1 Apr 2024 22:51:37 -0400 Subject: [PATCH 1/2] Fix backticks --- doc/source/user_guide/groupby.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index 7f957a8b16787..87125b31d18b1 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -418,6 +418,12 @@ You can also include the grouping columns if you want to operate on them. .. _groupby.iterating-label: +.. note:: + + The ``groupby`` operation in Pandas drops the ``name`` field of the columns Index object + after the operation. This change ensures consistency in syntax between different + column selection methods within groupby operations. + Iterating through groups ------------------------ From 49fa93cca4d96439f55a0ee298f92c24508f0156 Mon Sep 17 00:00:00 2001 From: shriyakalakata Date: Tue, 2 Apr 2024 13:26:11 -0400 Subject: [PATCH 2/2] Move note in doc/source/user_guide/groupby.rst --- doc/source/user_guide/groupby.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index 87125b31d18b1..8c222aff52fd7 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -416,14 +416,14 @@ You can also include the grouping columns if you want to operate on them. grouped[["A", "B"]].sum() -.. _groupby.iterating-label: - .. note:: The ``groupby`` operation in Pandas drops the ``name`` field of the columns Index object after the operation. This change ensures consistency in syntax between different column selection methods within groupby operations. +.. _groupby.iterating-label: + Iterating through groups ------------------------