Function mule::infer_schema[][src]

pub async fn infer_schema<T: Typer>(
    file_path: impl AsRef<Path>,
    skip_first_line: bool,
    inference_depth: usize,
    options: &ParsingOptions,
    typer: T
) -> Result<Vec<T::TypeTag>>

Infer the schema of a file by determining the type of each column as the one that most of the column values can be parsed into.