Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Re-enable Polars as a supported library for jsonl with glob paths#3017

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
nameexhaustion wants to merge1 commit intohuggingface:main
base:main
Choose a base branch
Loading
fromnameexhaustion:pl-json

Conversation

nameexhaustion
Copy link
Contributor

Ref#3006
Issue fixed bypola-rs/polars#17958

is_json_lines = ".jsonl" in first_file or HfFileSystem(token=hf_token).open(first_file, "r").read(1) != "["

if is_json_lines:
read_func = "read_ndjson"
else:
read_func = "read_json"
# JSON not yet supported by Polars
return None
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

drive-by - removed this as polars doesn't have support forread_json yet

@nameexhaustionnameexhaustion marked this pull request as draftAugust 15, 2024 01:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@nameexhaustion

[8]ページ先頭

©2009-2025 Movatter.jp