Skip to content

Commit

Permalink
docs: Fix Expr.all description of Kleene logic (#20409)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemanley authored Dec 27, 2024
1 parent 208d530 commit 4539173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/polars-plan/src/dsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion py-polars/polars/expr/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4539173

Please sign in to comment.