cast_schema

Function cast_schema 

Source
pub fn cast_schema<S: AsRef<str>>(
    map: &[(S, DataType)],
    schema: &Schema,
) -> Result<Schema>
Expand description

Casts column types according to given (column name, target data type) pairs.