Empty struct's value change since version 1.3.0 when calling to_dicts #19147
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
This is the current behaviour (>= 1.5.0):
However in previous versions the following happened:
Log output
No response
Issue description
Hello,
I've came across an issue when converting a data frame with nested data, to a dictionary. This behaviour has changed since 1.3.0. I can't find any reference to the updates in the release notes (so I think it's unintentional).
I'm curious if the change in behaviour is deliberate, and the context around the change.
Expected behavior
Ideally, I think calling to_dicts should return an empty dict in this case.
Installed versions
The text was updated successfully, but these errors were encountered: