pub fn ensure_matching_dtypes_if_found(
schema: &Schema<Field>,
current_schema: &Schema<Field>,
) -> Result<(), PolarsError>
Available on crate feature
polars-io
only.Expand description
Utility to ensure the dtype of the column in current_schema
matches the dtype in schema
if
that column exists in schema
.