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

Add string.wrap APIs to pylibcudf #16935

Merged
merged 5 commits into from
Oct 2, 2024

Conversation

mroeschke
Copy link
Contributor

Description

Contributes to #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.

@mroeschke mroeschke added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package labels Sep 26, 2024
@mroeschke mroeschke requested a review from a team as a code owner September 26, 2024 21:15
@github-actions github-actions bot added Python Affects Python cuDF API. CMake CMake build issue labels Sep 26, 2024
None,
]
)
result = plc.strings.wrap.wrap(plc.interop.from_arrow(pa_array), 12)
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nit: saving 12 as a variable would be better than hardcoding it twice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will include this change in #16971

@mroeschke
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 63a5d2e into rapidsai:branch-24.12 Oct 2, 2024
99 checks passed
@mroeschke mroeschke deleted the pylibcudf/strings/wrap branch October 2, 2024 17:24
rapids-bot bot pushed a commit that referenced this pull request Oct 4, 2024
#16971)

Contributes to #15162

Also address a review in #16935 (comment)

This also modifies some `format` arguments in `convert_datetime.pyx` to accept `str` instead of `bytes` (`const string&`) to align more with Python. Let me know if you prefer to change this back

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

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

URL: #16971
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
Development

Successfully merging this pull request may close these issues.

2 participants