File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments