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

Expose JSON reader options to builder in pylibcudf #17866

Draft
wants to merge 4 commits into
base: branch-25.04
Choose a base branch
from

Conversation

shrshi
Copy link
Contributor

@shrshi shrshi commented Jan 29, 2025

Description

This PR adds all JsonReaderOptionsBuilder to pylibcudf.

Checklist

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

Copy link

copy-pr-bot bot commented Jan 29, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added Python Affects Python cuDF API. pylibcudf Issues specific to the pylibcudf package labels Jan 29, 2025
@shrshi shrshi added non-breaking Non-breaking change Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function and removed Python Affects Python cuDF API. labels Jan 29, 2025
@shrshi
Copy link
Contributor Author

shrshi commented Jan 29, 2025

/ok to test

@shrshi
Copy link
Contributor Author

shrshi commented Jan 30, 2025

/ok to test

self.c_obj.dayfirst(val)
return self

cpdef JsonReaderOptionsBuilder delimiter(self, char delimiter):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
cpdef JsonReaderOptionsBuilder delimiter(self, char delimiter):
cpdef JsonReaderOptionsBuilder delimiter(self, str delimiter):

We typically use str to annotate string inputs in pylibcudf instead of char

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 pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants