Skip to content

Commit f4f9410

Browse files
committed
DOC: finally rann pre commit
1 parent 57ed144 commit f4f9410

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/groupby/generic.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2544,7 +2544,8 @@ def idxmax(
25442544
Wheat Products 103.11 19.66
25452545
Beef 55.48 1712.00
25462546
2547-
By default, it returns the index for the maximum value in each column according to the group.
2547+
By default, it returns the index for the maximum value in each column
2548+
according to the group.
25482549
25492550
>>> df.groupby("food_type").idxmax()
25502551
consumption co2_emissions
@@ -2609,7 +2610,8 @@ def idxmin(
26092610
Wheat Products 103.11 19.66
26102611
Beef 55.48 1712.00
26112612
2612-
By default, it returns the index for the minimum value in each column according to the group.
2613+
By default, it returns the index for the minimum value in each column
2614+
according to the group.
26132615
26142616
>>> df.groupby("food_type").idxmin()
26152617
consumption co2_emissions

0 commit comments

Comments
 (0)