Fix for polars 1.33.0 (dtype becoming mandatory)#742
Open
charles-turner-1 wants to merge 8 commits intomainfrom
Open
Fix for polars 1.33.0 (dtype becoming mandatory)#742charles-turner-1 wants to merge 8 commits intomainfrom
charles-turner-1 wants to merge 8 commits intomainfrom
Conversation
mgrover1
approved these changes
Oct 13, 2025
Collaborator
Author
|
I'm gonna leave this one for now: see #744. I'll take some time to dig into that and see I can figure out that issue first, as it pins to polars Seems some weird (and breaking 😞) changes came along for the ride with that release, so I think pinning a max version of polars per release is going to be sensible going forwards. |
…lows eg. `list[cat]` rather than `list[str]` columns_with_iterables in the pl_df
Collaborator
Author
|
@aulemahal I remember you saying you guys at ouranos are using categorical dtypes, are you able to take a skim through this PR & check that it doesn't look like it'll cause you any issues? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
pl.List[pl.Utf8]when opening catalogs with polars by default, allows user to specify dtype's viaschema_overrides. (see https://docs.pola.rs/api/python/dev/reference/expressions/api/polars.Expr.str.json_decode.html)Related issue number
N/A
Checklist