| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.Series.max.html | [Back] [Original] |
Section Navigation
Return the maximum of the values over the requested axis.
If you want the index of the maximum, use idxmax. This is the equivalent
of the numpy.ndarray method argmax.
Examples:
Calculating the max of a Series:
>>> s = bpd.Series([1, 3])
>>> s
0 1
1 3
dtype: Int64
>>> s.max()
np.int64(3)
Calculating the max of a Series containing NA values:
>>> s = bpd.Series([1, 3, pd.NA])
>>> s
0 1
1 3
2 <NA>
dtype: Int64
>>> s.max()
np.int64(3)
Scalar.
scalar
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |