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

Avoid cudf column APIs after cudf.Series disallows column inputs #6019

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

mroeschke
Copy link
Contributor

closes #6017

With rapidsai/cudf#16454, cudf.Series no longer accepts cudf ColumnBase objects. The usage of this pattern in cuml was mostly not needed as there existed public APIs to avoid this behavior

@mroeschke mroeschke requested a review from a team as a code owner August 8, 2024 18:59
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Aug 8, 2024
@mroeschke mroeschke changed the title Avoid cudf column APIs after cudf.Series disallowing columns Avoid cudf column APIs after cudf.Series disallows column inputs Aug 8, 2024
@dantegd dantegd added bug Something isn't working non-breaking Non-breaking change labels Aug 9, 2024
@dantegd
Copy link
Member

dantegd commented Aug 9, 2024

/merge

@rapids-bot rapids-bot bot merged commit 19ffd6b into rapidsai:branch-24.10 Aug 9, 2024
62 checks passed
@mroeschke mroeschke deleted the fix/cudf/_from_column branch August 9, 2024 17:07
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Aug 15, 2024
Since `cudf.Index` is list-like, passing this to `.replace` should act like replacing a list of values with a corresponding list of values.

Discovered while working on rapidsai/cuml#6019

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)

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

URL: #16513
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] cudf Series code failing: "TypeError: use cudf.Series._from_data"
3 participants