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, useidxmax. This is the equivalentof thenumpy.ndarray methodargmax.

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 containingNA values:

>>>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

This Page