[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.Series.std.html [Back]  [Original]

bigframes.pandas.Series.std — bigframes documentation
Back to top
Search the docs ...:

bigframes.pandas.Series.std#

Series.std() float[source]#

Return sample standard deviation over requested axis.

Normalized by N-1 by default.

Examples:

>>> df = bpd.DataFrame({'person_id': [0, 1, 2, 3],
...                     'age': [21, 25, 62, 43],
...                     'height': [1.61, 1.87, 1.49, 2.01]}
...                   ).set_index('person_id')
>>> df
           age  height
person_id
0           21    1.61
1           25    1.87
2           62    1.49
3           43    2.01

[4 rows x 2 columns]
>>> df.std()
age       18.786076
height     0.237417
dtype: Float64
Returns:

scalar or bigframes.pandas.Series (if level specified)


Web Proxy Viewer  |  New URL  |  Original Page