bigframes.pandas.Series.max#
- Series.max()→Any[source]#
Return the maximum of the values over the requested axis.
If you want the index of the maximum, use
idxmax. This is the equivalentof thenumpy.ndarraymethodargmax.Examples:
Calculating the max of a Series:
>>>s=bpd.Series([1,3])>>>s0 11 3dtype: Int64
>>>s.max()np.int64(3)
Calculating the max of a Series containing
NAvalues:>>>s=bpd.Series([1,3,pd.NA])>>>s0 11 32 <NA>dtype: Int64
>>>s.max()np.int64(3)
- Returns:
Scalar.
- Return type:
scalar
On this page