modin.pandas.Rolling.semΒΆ
- Rolling.sem(ddof: int = 1, numeric_only: bool = False, *args: Any, **kwargs: Any)[source]ΒΆ
Calculate the rolling standard error of mean.
- Parameters:
ddof (int, default 1) β Delta Degrees of Freedom. The divisor used in calculations is
N - ddof
, whereN
represents the number of elements.numeric_only (bool, default False) β Include only float, int, boolean columns.
- Returns:
Return type is the same as the original object with np.float64 dtype.
- Return type:
Examples
>>> s = pd.Series([0, 1, 2, 3]) >>> s.rolling(2, min_periods=1).sem() 0 NaN 1 0.707107 2 0.707107 3 0.707107 dtype: float64