pandas.Index.sem#
- Index.sem(*, axis=None, ddof=1, skipna=True)[source]#
Return the unbiased standard error of the mean of the values in the Index.
Normalized by N-1 by default. This can be changed using
ddof.- Parameters:
- axis{None, 0}
Unused. Parameter needed for compatibility with numpy.
- ddofint, default 1
Delta Degrees of Freedom. The divisor used in calculations is
N - ddof, whereNrepresents the number of elements.- skipnabool, default True
Exclude NA/null values when computing the result.
- Returns:
- scalar
The standard error of the mean.
See also
Index.stdReturn the standard deviation of the values.
Series.semReturn the standard error of the mean of a Series.
Examples
>>> pd.Index([1, 2, 3]).sem() 0.5773502691896258