pub fn infer_iter<A>(rows: impl Iterator<Item = A>) -> Result<DataType, Error> where
    A: AsRef<str>, 
Available on crate feature json only.
Expand description

Infers the DataType 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.