polars_arrow::compute::cast

Function cast_default

Source
pub fn cast_default(
    array: &dyn Array,
    to_type: &ArrowDataType,
) -> PolarsResult<Box<dyn Array>>
Available on crate feature compute_cast only.