From 6e6ba84258a7a1ec8d72fe09d2c97bf1c10c53f3 Mon Sep 17 00:00:00 2001 From: srkds Date: Wed, 5 Apr 2023 21:59:12 +0530 Subject: [PATCH] DOC: update text for version pandas 2.x --- pandas/core/frame.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 44320de2c3209..57252447f4286 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8677,8 +8677,7 @@ def groupby( Also accept list of columns names. index : str or object or a list of str, optional - Column to use to make new frame's index. If None, uses - existing index. + Column to use to make new frame's index. If not given, uses existing index. .. versionchanged:: 1.1.0 Also accept list of index names.