Closed jamesperez2005 closed 2 months ago
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of Polars.
df = pl.DataFrame( { 'x': [1, 2, 3], 'y': ['a', 'b', 'c'], } ) df.write_ndjson("/tmp/testme.ndjson") pl.read_ndjson(open("/tmp/testme.ndjson"))
No response
It is very useful to be able to read ndjson from file objects, e.g. when reading compressed data
The dataframe should be successfully read
Same reproduces with read_json/write_json, BTW
Checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Log output
No response
Issue description
It is very useful to be able to read ndjson from file objects, e.g. when reading compressed data
Expected behavior
The dataframe should be successfully read
Installed versions