Nullability of Struct
series
#18119
Labels
accepted
Ready for implementation
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
No response
Issue description
This used to work in Polars 1.1. I believe in Polars 1.2, the small bug fix "Properly implement struct (#17522)" is what changed this behavior. Now:
struct of Nones
case fails, whilstNone
case still passesAfter all, this is the same test case found under here.
My questions are:
Series
of typeNone
rather thanstruct of Nones
usingwhen
? What I believe is idiomatic code only gives me the latter:Series
of typestruct of Nones
? A workaround forSeries
can be done because we can recursively inspect its type ; annoying at best. However, this doesn't seem feasible forExpr
s.P.S. Also see #3462 from 2022-05.
Expected behavior
As above
Installed versions
The text was updated successfully, but these errors were encountered: