diff --git a/crates/polars-plan/src/dsl/cat.rs b/crates/polars-plan/src/dsl/cat.rs index 8ffe200fc7e0..1bb3150347b4 100644 --- a/crates/polars-plan/src/dsl/cat.rs +++ b/crates/polars-plan/src/dsl/cat.rs @@ -6,6 +6,6 @@ pub struct CategoricalNameSpace(pub(crate) Expr); impl CategoricalNameSpace { pub fn get_categories(self) -> Expr { self.0 - .map_private(CategoricalFunction::GetCategories.into()) + .apply_private(CategoricalFunction::GetCategories.into()) } }