snowflake.snowpark.modin.plugin.extensions.window_overrides.Expanding.sem

Expanding.sem(ddof: int = 1, numeric_only: bool = False)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/window_overrides.py#L755-L768)

Calculate the expanding standard error of mean.

Parameters:
  • ddof (int, default 1) – Delta Degrees of Freedom. The divisor used in calculations is N - ddof, where N 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:

Series or DataFrame

Examples

>>> s = pd.Series([0, 1, 2, 3])
>>> s.expanding().sem()
0         NaN
1    0.707107
2    0.707107
3    0.745356
dtype: float64
Copy
Language: English