polars_json

Module ndjson

Source

Modules§

deserialize
write
APIs to serialize and write to NDJSON.

Functions§

infer_iter
Infers the ArrowDataType from an iterator of JSON strings. A limited number of rows can be used by passing rows.take(number_of_rows) as an input.
iter_unique_dtypes
Infers the ArrowDataType from an NDJSON file, optionally only using number_of_rows rows.