Std
Description
Aggregate the columns of this LazyFrame to their standard deviation values.
Usage
<LazyFrame>$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 LazyFrame with one row
Examples
#> shape: (1, 11)
#> ┌──────────┬──────────┬────────────┬───────────┬───┬──────────┬──────────┬──────────┬────────┐
#> │ mpg ┆ cyl ┆ disp ┆ hp ┆ … ┆ vs ┆ am ┆ gear ┆ carb │
#> │ --- ┆ --- ┆ --- ┆ --- ┆ ┆ --- ┆ --- ┆ --- ┆ --- │
#> │ f64 ┆ f64 ┆ f64 ┆ f64 ┆ ┆ f64 ┆ f64 ┆ f64 ┆ f64 │
#> ╞══════════╪══════════╪════════════╪═══════════╪═══╪══════════╪══════════╪══════════╪════════╡
#> │ 6.026948 ┆ 1.785922 ┆ 123.938694 ┆ 68.562868 ┆ … ┆ 0.504016 ┆ 0.498991 ┆ 0.737804 ┆ 1.6152 │
#> └──────────┴──────────┴────────────┴───────────┴───┴──────────┴──────────┴──────────┴────────┘