bigframes.pandas.Series.idxmax#
- Series.idxmax() Hashable[source]#
Return the row label of the maximum value.
If multiple values equal the maximum, the first row label with that value is returned.
Examples:
>>> s = bpd.Series(data=[1, None, 4, 3, 4], ... index=['A', 'B', 'C', 'D', 'E']) >>> s A 1.0 B <NA> C 4.0 D 3.0 E 4.0 dtype: Float64
>>> s.idxmax() 'C'
- Returns:
Label of the maximum value.
- Return type: