-
Notifications
You must be signed in to change notification settings - Fork 915
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
Deprecate to/from_dask_dataframe
APIs in dask-cudf
#15592
Merged
rapids-bot
merged 14 commits into
rapidsai:branch-24.06
from
rjzamora:deprecate-to-from-dask-dataframe
Apr 30, 2024
Merged
Deprecate to/from_dask_dataframe
APIs in dask-cudf
#15592
rapids-bot
merged 14 commits into
rapidsai:branch-24.06
from
rjzamora:deprecate-to-from-dask-dataframe
Apr 30, 2024
Conversation
This file contains 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
rjzamora
added
2 - In Progress
Currently a work in progress
dask
Dask issue
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
labels
Apr 24, 2024
28 tasks
rjzamora
added
3 - Ready for Review
Ready for review by team
and removed
2 - In Progress
Currently a work in progress
labels
Apr 24, 2024
This was referenced Apr 24, 2024
rapids-bot bot
pushed a commit
to rapidsai/cuml
that referenced
this pull request
Apr 25, 2024
Minor notebook change. Motivated by rapidsai/cudf#15592 @taureandyernv - Just an FYI: I'm sure there is plenty of example code/documentation floating around that uses `dask_cudf.to/from_dask_dataframe`. I will be looking for this, and changing it to `*.to_backend("cudf"/"pandas")`. Feel free to point out problem areas :) Authors: - Richard (Rick) Zamora (https://github.com/rjzamora) - Dante Gama Dessavre (https://github.com/dantegd) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) URL: #5862
rjzamora
added
4 - Needs Review
Waiting for reviewer to review or respond
and removed
3 - Ready for Review
Ready for review by team
labels
Apr 26, 2024
charlesbluca
suggested changes
Apr 29, 2024
rjzamora
commented
Apr 29, 2024
Co-authored-by: Charles Blackmon-Luca <[email protected]>
…a/cudf into deprecate-to-from-dask-dataframe
…o-from-dask-dataframe
…a/cudf into deprecate-to-from-dask-dataframe
charlesbluca
approved these changes
Apr 30, 2024
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.
Thanks @rjzamora!
rjzamora
added
5 - Ready to Merge
Testing and reviews complete, ready to merge
and removed
4 - Needs Review
Waiting for reviewer to review or respond
labels
Apr 30, 2024
/merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
5 - Ready to Merge
Testing and reviews complete, ready to merge
dask
Dask issue
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
Python
Affects Python cuDF API.
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.
Description
The
to/from_dask_dataframe
APIs have been obsolete for a long time. It is always better to useddf.to_backend("cudf")
orddf.to_backend("pandas")
instead.These APIs are also "dangerous" to use with dask-expr, because the same API names are still used to convert data to/from "legacy" Dask collections. Note that dask-expr also deprecated
to/from_dask_dataframe
in favor ofto/from_legacy_dataframe
, but the conflicting APIs still exist (for now).Checklist