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

Open
wants to merge 9 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

def mixed_types_as_string(self, val: bool) -> Self: ...
def na_values(self, vals: list) -> Self: ...
def nonnumeric_numbers(self, val: bool) -> Self: ...
def normalize_single_quotes(self, val: bool) -> Self: ...
Copy link
Contributor

@karthikeyann karthikeyann Feb 11, 2025

Choose a reason for hiding this comment

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

nit: document normalize_single_quotes in python cudf.read_json docstring.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Documented normalize_single_quotes and delimiter. Will add a docstring for the remaining parameters 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.

Added documentation for the remaining extra parameters as well.

@shrshi shrshi marked this pull request as ready for review February 11, 2025 03:45
@shrshi shrshi requested a review from a team as a code owner February 11, 2025 03:45
@shrshi shrshi requested review from wence- and mroeschke February 11, 2025 03:45
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.

3 participants