pub fn infer_iter<A: AsRef<str>>(
rows: impl Iterator<Item = A>,
) -> PolarsResult<ArrowDataType>
Expand description
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.
ยงImplementation
This implementation infers each row by going through the entire iterator.