Skip to content
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

Forward-merge branch-25.02 into branch-25.04 #17850

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

rapids-bot[bot]
Copy link

@rapids-bot rapids-bot bot commented Jan 29, 2025

Forward-merge triggered by push to branch-25.02 that creates a PR to keep branch-25.04 up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

… `cudf.pandas` Proxy Objects (#17629)

Fixes: #17524 
Fixes: rapidsai/cuml#6232
This PR introduces methods to access the real underlying `cudf` and `pandas` objects from `cudf.pandas` proxy objects. These methods ensure compatibility with libraries that are `cudf` or `pandas` aware.


This PR also gives a performance boost to `cudf-pandas` workflows, speeds from the script posted in rapidsai/cuml#6232:

`branch-25.02`:
```
cuML Label Encoder with cuDF-Pandas took 2.00794 seconds
```
`This PR`:
```
cuML Label Encoder with cuDF-Pandas took 0.09284 seconds
```


Changes:

- [x] Added `get_gpu_object()` and `get_cpu_object()` methods.
- [x] Updated faq.md with a section explaining how to use these methods.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Matthew Murray (https://github.com/Matt711)
  - Vyas Ramasubramani (https://github.com/vyasr)

URL: #17629
@rapids-bot rapids-bot bot requested a review from a team as a code owner January 29, 2025 04:01
@rapids-bot rapids-bot bot requested review from wence- and mroeschke January 29, 2025 04:01
@GPUtester GPUtester merged commit a47acc2 into branch-25.04 Jan 29, 2025
1 check was pending
Copy link
Author

rapids-bot bot commented Jan 29, 2025

SUCCESS - forward-merge complete.

@github-actions github-actions bot added Python Affects Python cuDF API. cudf.pandas Issues specific to cudf.pandas labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf.pandas Issues specific to cudf.pandas Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants