polars to-jsonl
for dataframe
Saves dataframe to a JSON lines file.
Signature
> polars to-jsonl {flags} (file)
Parameters
file
: file path to save dataframe
Input/output types:
input | output |
---|---|
any | any |
Examples
Saves dataframe to JSON lines file
> [[a b]; [1 2] [3 4]] | polars into-df | polars to-jsonl test.jsonl