File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
96
96
-i " pandas.arrays.TimedeltaArray PR07,SA01" \
97
97
-i " pandas.core.groupby.DataFrameGroupBy.boxplot PR07,RT03,SA01" \
98
98
-i " pandas.core.groupby.DataFrameGroupBy.get_group RT03,SA01" \
99
- -i " pandas.core.groupby.DataFrameGroupBy.groups SA01" \
100
99
-i " pandas.core.groupby.DataFrameGroupBy.indices SA01" \
101
100
-i " pandas.core.groupby.DataFrameGroupBy.nth PR02" \
102
101
-i " pandas.core.groupby.DataFrameGroupBy.nunique SA01" \
Original file line number Diff line number Diff line change @@ -435,6 +435,18 @@ def groups(self) -> dict[Hashable, Index]:
435
435
"""
436
436
Dict {group name -> group labels}.
437
437
438
+ This property provides a dictionary representation of the groupings formed
439
+ during a groupby operation, where each key represents a unique group value from
440
+ the specified column(s), and each value is a list of index of the row labels
441
+ that belong to that group.
442
+
443
+ See Also
444
+ --------
445
+ core.groupby.DataFrameGroupBy.get_group : Get a DataFrame or Series that
446
+ contains the rows belonging to the specified group.
447
+ core.groupby.DataFrameGroupBy.indices : Get a dict with group labels as keys
448
+ and lists of integer indices of rows in each group as values.
449
+
438
450
Examples
439
451
--------
440
452
You can’t perform that action at this time.
0 commit comments