bigframes.pandas.Series.mean#
- Series.mean()→float[source]#
Return the mean of the values over the requested axis.
Examples:
Calculating the mean of a Series:
>>>s=bpd.Series([1,3])>>>s0 11 3dtype: Int64
>>>s.mean()np.float64(2.0)
Calculating the mean of a Series containing
NAvalues:>>>s=bpd.Series([1,3,pd.NA])>>>s0 11 32 <NA>dtype: Int64
>>>s.mean()np.float64(2.0)
- Returns:
Scalar.
- Return type:
scalar
On this page