Creating frames with List(Struct(...Categorical))
fails depending on order
#19943
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
Creating the dataframe can fail when the first element of a
List(Struct(...Categorical))
is an empty list.Expected behavior
The data for this dataframe is valid, so creating it should succeed. If we swap the order of the inner list so the
[]
is no longer the head of the list, it actually does succeed:Installed versions
The text was updated successfully, but these errors were encountered: