Sha256: 776e76c3e42b3c89d81f9fc015361f37e0bce7f7bd12fa4d473c2bc2008de008

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

use crate::RbExpr;

impl RbExpr {
    pub fn array_max(&self) -> Self {
        self.inner.clone().arr().max().into()
    }

    pub fn array_min(&self) -> Self {
        self.inner.clone().arr().min().into()
    }

    pub fn array_sum(&self) -> Self {
        self.inner.clone().arr().sum().into()
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polars-df-0.8.0 ext/polars/src/expr/array.rs
polars-df-0.7.0 ext/polars/src/expr/array.rs
polars-df-0.6.0 ext/polars/src/expr/array.rs