Skip to content

Conversation

@Light2Dark
Copy link
Contributor

📝 Summary

Fixes #7032 . Pre-emptively cast list of enums to strings, sometimes polars doesn't raise the error list of enums, and silently the output is incorrect. This fixes it.

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Nov 4, 2025 5:27am

@Light2Dark Light2Dark changed the title cast list of enums to string preemptively cast list of enums to string preemptively for polars Nov 4, 2025
@Light2Dark Light2Dark added the bug Something isn't working label Nov 4, 2025
@mscolnick mscolnick merged commit 02f58aa into main Nov 4, 2025
38 of 41 checks passed
@mscolnick mscolnick deleted the sham/fix-list-enums-polars branch November 4, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panics with polars DataFrame displaying pl.List(pl.Enum)

3 participants