Creating dataframe from Python dict with array as value ignores/loses values when starting with None #22747
Open
2 tasks done
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
When creating test data like above I have noticed that the elements in data are not converted into the dataframe as expected, for cases where they array does start with None. As soon as I have one leading value, which is not None the whole initialization is working properly.
um03 ┆ 2025-02-27 ┆ [null, null, … null]
um04 ┆ 2025-02-28 ┆ [327.0, null, … null]
Expected behavior
Independent of what data I am converting into a dataframe with polars I would expect that the values are not being dropped or getting lost in this conversion.
um03 ┆ 2025-02-27 ┆ [null, null, … 327.0]
um04 ┆ 2025-02-28 ┆ [327.0, null, … null]
Installed versions
The text was updated successfully, but these errors were encountered: