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 reshape.pxd to pylibcudf #15827

Merged
merged 8 commits into from
May 24, 2024

Conversation

lithomas1
Copy link
Contributor

@lithomas1 lithomas1 commented May 22, 2024

Description

xref #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.

Not sure what to do about byte_cast, which appears in the reshape.hpp file but isn't used by cudf-python (only by java and cpp).

@github-actions github-actions bot added Python Affects Python cuDF API. CMake CMake build issue labels May 22, 2024
@lithomas1 lithomas1 marked this pull request as ready for review May 22, 2024 21:54
@lithomas1 lithomas1 requested a review from a team as a code owner May 22, 2024 21:54
@lithomas1 lithomas1 requested review from vyasr and mroeschke May 22, 2024 21:54
@mroeschke mroeschke added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 22, 2024
@lithomas1
Copy link
Contributor Author

This should be green and ready for a look now (tests have been added).

Copy link
Contributor

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

LGTM

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.

One small suggestion, otherwise looks great to me!

Comment on lines +17 to +18
arrow_tbl = pa.Table.from_arrays(reshape_data, names=["a", "b"])
plc_tbl = plc.interop.from_arrow(arrow_tbl)
Copy link
Contributor

Choose a reason for hiding this comment

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

Might as well pull this out into a fixture too so that it's only done once (especially since you parametrize the tile test below so it'll do this four times).

@lithomas1
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 8458306 into rapidsai:branch-24.08 May 24, 2024
72 checks passed
@lithomas1 lithomas1 deleted the pylibcudf-reshape branch May 24, 2024 22:04
@vyasr vyasr added the pylibcudf Issues specific to the pylibcudf package label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.
Projects
Status: Done
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants