Sha256: b9b5ff3ecaae45f1427787a157592fa1e1692da96f892eed9a7d94a7c78fbf69

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

use polars::prelude::*;

use crate::conversion::Wrap;
use crate::RbExpr;

impl RbExpr {
    pub fn cat_set_ordering(&self, ordering: Wrap<CategoricalOrdering>) -> Self {
        self.inner.clone().cat().set_ordering(ordering.0).into()
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polars-df-0.7.0 ext/polars/src/expr/categorical.rs
polars-df-0.6.0 ext/polars/src/expr/categorical.rs
polars-df-0.5.0 ext/polars/src/expr/categorical.rs