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

Migrate lists/set_operations to pylibcudf #16190

Open
wants to merge 3 commits into
base: branch-24.08
Choose a base branch
from

Conversation

Matt711
Copy link
Contributor

@Matt711 Matt711 commented Jul 3, 2024

Description

Apart of #15162

Checklist

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

@Matt711 Matt711 added feature request New feature or request non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package labels Jul 3, 2024
@Matt711 Matt711 self-assigned this Jul 3, 2024
@Matt711 Matt711 requested a review from a team as a code owner July 3, 2024 17:01
@Matt711 Matt711 requested review from vyasr and lithomas1 July 3, 2024 17:01
@github-actions github-actions bot added the Python Affects Python cuDF API. label Jul 3, 2024
Copy link
Contributor

@lithomas1 lithomas1 left a comment

Choose a reason for hiding this comment

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

Thanks, some minor comments r.e. docs and testing


res = set_operation(
plc.interop.from_arrow(pa.array(lhs)),
plc.interop.from_arrow(pa.array(rhs)),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you parametrize this test for nulls_equal/nans_equal as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I can for nulls_equal. I thinknans_equal is a bit trickier to test because of how cudf handles missing data. Can you think of any test columns I can use (lhs and rhs) to test nan_equal=False?

For now I left all nan_equal argument as True.

python/cudf/cudf/_lib/pylibcudf/lists.pyx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.
Projects
Status: In Progress
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants