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

Disallow cudf.Index accepting column in favor of ._from_column #16549

Merged
merged 12 commits into from
Aug 15, 2024

Conversation

mroeschke
Copy link
Contributor

Description

Similar to #16454, this PR disallows the public cudf.Index accepting a private ColumnBase object in favor of _from_column (which was added in the linked PR)

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@mroeschke mroeschke added Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function breaking Breaking change labels Aug 13, 2024
@mroeschke mroeschke requested a review from a team as a code owner August 13, 2024 20:38
@galipremsagar
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 19846b6 into rapidsai:branch-24.10 Aug 15, 2024
71 checks passed
@mroeschke mroeschke deleted the ref/index/no_column branch August 15, 2024 16:05
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Aug 15, 2024
With rapidsai/cudf#16549, `cudf.Index` no longer accepts `Column` objects.

The only usage I found was that `GeoColumn` accepted `shuffle_order=cudf.Index(column)`, but `shuffle_order` appears unused (anymore?) in `GeoColumn`, so I went ahead and removed this from the constructor

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

Approvers:
  - Vyas Ramasubramani (https://github.com/vyasr)

URL: #1439
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement / enhancement to an existing function Python Affects Python cuDF API.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants