Sha256: 04815b98cd47a96899792138d501237e0dc992bf5e34a7ba1e65660bf9ad68ea
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 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() .cast(DataType::Categorical(None, ordering.0)) .into() } pub fn cat_get_categories(&self) -> Self { self.inner.clone().cat().get_categories().into() } }
Version data entries
4 entries across 4 versions & 1 rubygems