We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
test.json:
{"id": 0, "val": [{"sub_id":"a"},{"sub_id": "b"}]} {"id": 1, "val": [{"sub_id":"c"},{"sub_id":"c"}]}
In Pandas, val becomes a list of strings:
val
import pandas as pd fn = 'test.json' pd.read_json(fn, lines=True) id val 0 0 [{'sub_id': 'a'}, {'sub_id': 'b'}] 1 1 [{'sub_id': 'c'}, {'sub_id': 'c'}]
In cudf, the file will load, but the list of JSON objects is parsed incorrectly.
import cudf fn = 'test.json' cudf.read_json(fn, lines=True) id val sub_id 0 0 [{"sub_id":"a"} b"}] 1 1 [{"sub_id":"c"} c"}]
The text was updated successfully, but these errors were encountered:
closing as #8827 is filed for the same feature
Sorry, something went wrong.
vuule
No branches or pull requests
test.json:
In Pandas,
val
becomes a list of strings:In cudf, the file will load, but the list of JSON objects is parsed incorrectly.
The text was updated successfully, but these errors were encountered: