bigframes.pandas.DataFrame.idxmax#
- DataFrame.idxmax()→Series[source]#
Return index of first occurrence of maximum over columns.
NA/null values are excluded.
Examples:
>>>df=bpd.DataFrame({"A":[3,1,2],"B":[1,2,3]})>>>df A B0 3 11 1 22 2 3[3 rows x 2 columns]
>>>df.idxmax()A 0B 2dtype: Int64
- Returns:
Indexes of maxima along the columns.
- Return type:
On this page