Fill_null() does not cast ALL Null values to other dtype(Nested Dataclass) #17268
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
https://drive.google.com/file/d/1gaLFuy6QyQNNE32eLFTz-HuAeX974wvw/view?usp=sharing
Fill_null() does not cast ALL Null values to other dtype(Nested Dataclass).
Unnesting and casting null to other dtypes results in loss of "key" column names as the value columns.
Any way to get a complete fill_null() on nested dataframes without unnesting?
Expected behavior
All values should be filled with "zero" for pl.DataFrame(data).fill_null("zero")
Installed versions
The text was updated successfully, but these errors were encountered: