bigframes.pandas.Series.min#
- Series.min() Any[source]#
Return the maximum of the values over the requested axis.
If you want the index of the minimum, use
idxmin. This is the equivalent of thenumpy.ndarraymethodargmin.Examples:
Calculating the min of a Series:
>>> s = bpd.Series([1, 3]) >>> s 0 1 1 3 dtype: Int64
>>> s.min() np.int64(1)
Calculating the min of a Series containing
NAvalues:>>> s = bpd.Series([1, 3, pd.NA]) >>> s 0 1 1 3 2 <NA> dtype: Int64
>>> s.min() np.int64(1)
- Returns:
Scalar.
- Return type:
scalar