Skip to content

Commit

Permalink
BUG: Change default of group_keys to True (pandas-dev#51627)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshadrach authored Feb 25, 2023
1 parent f943864 commit cb2336e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -8211,7 +8211,7 @@ def groupby(
level: IndexLabel | None = None,
as_index: bool = True,
sort: bool = True,
group_keys: bool | lib.NoDefault = no_default,
group_keys: bool = True,
observed: bool = False,
dropna: bool = True,
) -> DataFrameGroupBy:
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ def groupby(
level: IndexLabel = None,
as_index: bool = True,
sort: bool = True,
group_keys: bool | lib.NoDefault = no_default,
group_keys: bool = True,
observed: bool = False,
dropna: bool = True,
) -> SeriesGroupBy:
Expand Down

0 comments on commit cb2336e

Please sign in to comment.