Skip to content

Conversation

mroeschke
Copy link
Contributor

Description

Broken off from #20087

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 self-assigned this Sep 25, 2025
@mroeschke mroeschke added the Python Affects Python cuDF API. label Sep 25, 2025
@mroeschke mroeschke requested a review from a team as a code owner September 25, 2025 01:14
@mroeschke mroeschke added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 25, 2025
@mroeschke mroeschke requested review from wence- and vyasr September 25, 2025 01:14
@GPUtester GPUtester moved this to In Progress in cuDF Python Sep 25, 2025
else:
new_mask = None
new_null_count = 0
exposed = isinstance(self.data, ExposureTrackedBuffer)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm afraid I don't remember the exact semantics of the buffer classes right now to be sure, but is this condition not too broad? Can't you have an ExposureTrackedBuffer that is not currently exposed? I don't think the current code will result in incorrect results in any case, it might just be less efficient than ideal by forcing copies.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually turns out I didn't need this condition, so it's been removed

@github-actions github-actions bot added the cudf.pandas Issues specific to cudf.pandas label Sep 29, 2025
@mroeschke mroeschke removed the cudf.pandas Issues specific to cudf.pandas label Sep 29, 2025
@mroeschke mroeschke requested a review from vyasr October 2, 2025 17:08
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
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants