Skip to content

Commit 9afb5e5

Browse files
committed
correct docstring
1 parent 1d8edca commit 9afb5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/groupby.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def groups(self) -> dict[Hashable, Index]:
635635
1 1 5 6
636636
2 7 8 9
637637
>>> df.groupby(by=["a"]).groups
638-
{1: [0, 1], 7: [2]}
638+
{(1,): [0, 1], (7,): [2]}
639639
640640
For Resampler:
641641

0 commit comments

Comments
 (0)