Skip to content

Compute the standard deviation of a Series

Source code

Description

Compute the standard deviation of a Series

Usage

<Series>$std(ddof = 1)

Arguments

ddof Delta Degrees of Freedom: the divisor used in the calculation is N - ddof, where N represents the number of elements. By default ddof is 1.

Value

A numeric value

Examples

library(polars)

as_polars_series(1:10)$std()
#> [1] 3.02765