diff --git a/crates/polars-plan/src/dsl/mod.rs b/crates/polars-plan/src/dsl/mod.rs index b095587d4ef0..02e276c98565 100644 --- a/crates/polars-plan/src/dsl/mod.rs +++ b/crates/polars-plan/src/dsl/mod.rs @@ -1801,7 +1801,7 @@ impl Expr { /// Returns whether all values in the column are `true`. /// /// If `ignore_nulls` is `False`, [Kleene logic] is used to deal with nulls: - /// if the column contains any null values and no `true` values, the output + /// if the column contains any null values and no `false` values, the output /// is null. /// /// [Kleene logic]: https://en.wikipedia.org/wiki/Three-valued_logic diff --git a/py-polars/polars/expr/expr.py b/py-polars/polars/expr/expr.py index ee75567be6ec..09d7523fca6f 100644 --- a/py-polars/polars/expr/expr.py +++ b/py-polars/polars/expr/expr.py @@ -516,7 +516,7 @@ def all(self, *, ignore_nulls: bool = True) -> Expr: Ignore null values (default). If set to `False`, `Kleene logic`_ is used to deal with nulls: - if the column contains any null values and no `True` values, + if the column contains any null values and no `False` values, the output is null. .. _Kleene logic: https://en.wikipedia.org/wiki/Three-valued_logic