Struct is_null
, is_not_null
and drop_nulls
inconsistent behavior
#9443
Labels
A-dtype-struct
Area: struct data type
accepted
Ready for implementation
bug
Something isn't working
P-high
Priority: high
python
Related to Python Polars
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
It seems like
drop_nulls
gives inconsistent behavior betweenpython
v0.17.15
andv0.18.3
. And, the behavior ofis_null
is different fromrust
v0.30.0
.Reproducible example
Expected behavior
All three should have the same behavior as
rust
v0.30.0
: dropnull
if at least one values onstruct
isnull
fordrop_nulls
.Not sure whether
is_null
andis_not_null
should have the opposite result.Installed versions
The text was updated successfully, but these errors were encountered: