Open DeflateAwning opened 3 weeks ago
Add to .eq_missing() a comment about what happens in the case of Null.eq_missing(Number).
.eq_missing()
Null.eq_missing(Number)
Method equivalent of equality operator expr == other where None == None.
The issue is that this description doesn't explicitly say that the behaviour of null==number is different than with the normal equality check.
To be fair, the example does cover this case, so it's not super urgent, but it still matters to me.
Method equivalent of equality operator `expr == other` where `None == None` and `None == number` is False.
https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.eq_missing.html
I propose the more concise:
Equality operator where None is treated as a distinct value.
None
maybe followed with a few examples showing that None == None and x != None for all other x.
None == None
x != None
x
Description
Add to
.eq_missing()
a comment about what happens in the case ofNull.eq_missing(Number)
.Currently:
Why it bothers me
The issue is that this description doesn't explicitly say that the behaviour of null==number is different than with the normal equality check.
To be fair, the example does cover this case, so it's not super urgent, but it still matters to me.
Proposed change:
Link
https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.eq_missing.html