Skip to content
Prev Previous commit
Next Next commit
correct docstring
  • Loading branch information
natmokval committed Jul 10, 2024
commit 9afb5e5d4c4d7ceda9d3cbf68551446ba7e16b35
2 changes: 1 addition & 1 deletion pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def groups(self) -> dict[Hashable, Index]:
1 1 5 6
2 7 8 9
>>> df.groupby(by=["a"]).groups
{1: [0, 1], 7: [2]}
{(1,): [0, 1], (7,): [2]}

For Resampler:

Expand Down