diff --git a/crates/polars-plan/src/dsl/function_expr/boolean.rs b/crates/polars-plan/src/dsl/function_expr/boolean.rs index fe016b3ada78..22f8ea7a8879 100644 --- a/crates/polars-plan/src/dsl/function_expr/boolean.rs +++ b/crates/polars-plan/src/dsl/function_expr/boolean.rs @@ -70,7 +70,7 @@ impl Display for BooleanFunction { IsIn => "is_in", AnyHorizontal => "any_horizontal", AllHorizontal => "all_horizontal", - Not => "not_", + Not => "not", }; write!(f, "{s}") } @@ -100,7 +100,7 @@ impl From for SpecialEq> { IsIn => wrap!(is_in), AllHorizontal => map_as_slice!(all_horizontal), AnyHorizontal => map_as_slice!(any_horizontal), - Not => map!(not_), + Not => map!(not), } } } @@ -188,6 +188,6 @@ fn all_horizontal(s: &[Series]) -> PolarsResult { polars_ops::prelude::all_horizontal(s) } -fn not_(s: &Series) -> PolarsResult { +fn not(s: &Series) -> PolarsResult { Ok(s.bool()?.not().into_series()) }