Series.std

Series.std(numeric_only: bool | None = None) Series[source]

Return standard deviation for a Series

Returns

float

std value

See Also

:pandas_api_docs:`pandas.Series.var`

Examples

>>> from tests import OPENSEARCH_TEST_CLIENT
>>> s = oml.DataFrame(OPENSEARCH_TEST_CLIENT, 'flights')['AvgTicketPrice']
>>> int(s.std())
266