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

Use as_column instead of full #14698

Merged
merged 28 commits into from
Mar 5, 2024

Conversation

mroeschke
Copy link
Contributor

Description

Similar to #14689, ensures there's 1 entrypoint to create a column from a scalar.

This builds on #14620

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 non-breaking Non-breaking change labels Jan 3, 2024
@mroeschke mroeschke requested review from a team as code owners January 3, 2024 02:02
@mroeschke mroeschke marked this pull request as draft January 11, 2024 20:03
@mroeschke mroeschke changed the base branch from branch-24.02 to branch-24.04 January 31, 2024 22:00
@mroeschke mroeschke marked this pull request as ready for review February 3, 2024 01:40
Copy link
Member

@rjzamora rjzamora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks fine for dask-cudf

Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mroeschke can you verify that full isn't used by cuspatial? Otherwise this LGTM pending resolution of the upstream nvcomp issues. Feel free to merge when those are resolved and CI is passing.

@mroeschke
Copy link
Contributor Author

Thanks for the reminder. Opened up a PR on the cuspatial side rapidsai/cuspatial#1350

@mroeschke
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 3571291 into rapidsai:branch-24.04 Mar 5, 2024
73 checks passed
@mroeschke mroeschke deleted the ref/as_column_full branch March 5, 2024 01:05
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Mar 5, 2024
I have a PR in cudf removing `full` in favor of `as_column` which has equivalent functionality (rapidsai/cudf#14698), so replacing the single usage I found here

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

Approvers:
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Mark Harris (https://github.com/harrism)
  - GALI PREM SAGAR (https://github.com/galipremsagar)
  - Bradley Dice (https://github.com/bdice)

URL: #1350
vyasr added a commit that referenced this pull request Mar 5, 2024
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Mar 5, 2024
CI is failing because some functions use `cudf.core.column.full` which was recently removed. This PR changes that to a supported constructor.

xref: rapidsai/cudf#14698

cc: @mroeschke @galipremsagar

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

Approvers:
  - GALI PREM SAGAR (https://github.com/galipremsagar)
  - Matthew Roeschke (https://github.com/mroeschke)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: #5794
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants