-
Notifications
You must be signed in to change notification settings - Fork 952
Require dtype argument to cudf_polars Column
container
#19193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rapids-bot
merged 37 commits into
rapidsai:branch-25.08
from
mroeschke:ref/cudf_polars/from_table_types
Jun 25, 2025
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
fba9e00
Support pl.struct
mroeschke 1268bb5
Pass along dtype in Column container
mroeschke 685c3fa
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke 57e58b0
Recursively set struct fields in ColumnMetadata
mroeschke ac841f2
Merge branch 'branch-25.08' into feat/cudf_polars/struct_expr
mroeschke 2bd55a6
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke 91563c1
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke c0a412b
Merge branch 'feat/cudf_polars/struct_expr' of https://github.com/mro…
mroeschke 0364f45
Merge branch 'branch-25.08' into feat/cudf_polars/struct_expr
mroeschke 83137d7
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke d45201f
Make can_cast return False for nested types
mroeschke 446f4da
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke 05a607e
Add tests to xfail list
mroeschke aeeb515
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke aab241e
Merge remote-tracking branch 'upstream/branch-25.08' into feat/cudf_p…
mroeschke 753ba58
Replace with polars issue
mroeschke 87793b5
Add test for nested struct
mroeschke 9b0f2ee
Merge branch 'branch-25.08' into feat/cudf_polars/struct_expr
mroeschke 87af891
Add dtypes argument to DataFrame.from_table
mroeschke 2b6f848
Remove tests that require from_table to have a dtype
mroeschke 92b23a3
Make dtype a required argument in Column
mroeschke 32b9949
Remove getattr workaround
mroeschke 0c611cd
Merge remote-tracking branch 'upstream/branch-25.08' into ref/cudf_po…
mroeschke 1327b44
Add _dtype_short_repr_to_dtype to address nested type limitations
mroeschke 37f76ac
Merge remote-tracking branch 'upstream/branch-25.08' into ref/cudf_po…
mroeschke 2184dfd
Use _ for value_counts unused vars
mroeschke aa147f1
Add div by zero value_counts case
mroeschke a44f5e4
Add test for value_counts not implmented in groupby
mroeschke 289f81b
Add back xfailing tests that require nested list[struct] support
mroeschke 59036a2
Merge remote-tracking branch 'upstream/branch-25.08' into ref/cudf_po…
mroeschke 1bccd42
Ensure we return a pl.DataType instance
mroeschke 6516650
Merge remote-tracking branch 'upstream/branch-25.08' into ref/cudf_po…
mroeschke 2292a95
Raise during deserialization for invalid dtype
mroeschke 2cecd8a
Raise during deserialization for invalid dtype
mroeschke 0560c3b
Add test for custom list parsing
mroeschke e320742
Merge remote-tracking branch 'upstream/branch-25.08' into ref/cudf_po…
mroeschke 760c084
Remove pyarrow import from boolean.py
mroeschke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How safe is
pl_type()
, without any arguments, here? Some types (Array
,Enum
) require additional arguments. Maybe we don't support those yet?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the types we support in
DataType
, I believe this is fairly safe as I'm hoping thatdtype_short_repr_to_dtype
will return instances for types with parameters (polars.Datetime
andpolars.Duration
).For those types that we don't support that take arguments, those should be rejected when constructing a
DataType