polars_core::chunked_array::ops

Trait ChunkVar

Source
pub trait ChunkVar {
    // Provided methods
    fn var(&self, _ddof: u8) -> Option<f64> { ... }
    fn std(&self, _ddof: u8) -> Option<f64> { ... }
}
Expand description

Variance and standard deviation aggregation.

Provided Methods§

Source

fn var(&self, _ddof: u8) -> Option<f64>

Compute the variance of this ChunkedArray/Series.

Source

fn std(&self, _ddof: u8) -> Option<f64>

Compute the standard deviation of this ChunkedArray/Series.

Implementors§

Source§

impl ChunkVar for ArrayChunked

Available on crate feature dtype-array only.
Source§

impl ChunkVar for BooleanChunked

Source§

impl ChunkVar for ListChunked

Source§

impl ChunkVar for StringChunked

Source§

impl<T> ChunkVar for ChunkedArray<T>

Source§

impl<T: PolarsObject> ChunkVar for ObjectChunked<T>

Available on crate feature object only.