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.