Skip to content

DEPR: deprecate obj argument in GroupBy.get_group #53571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove redundant line
  • Loading branch information
natmokval committed Jun 10, 2023
commit 0076eb4ea417d59b4482e20610ef71af9146b28c
1 change: 0 additions & 1 deletion pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,6 @@ def get_group(self, name, obj=None) -> DataFrame | Series:
raise KeyError(name)

if obj is None:
obj = self._selected_obj
return self._selected_obj.iloc[inds]
else:
warnings.warn(
Expand Down