polars_core::export::cast

Function cast_unchecked

Source
pub fn cast_unchecked(
    array: &(dyn Array + 'static),
    to_type: &ArrowDataType,
) -> Result<Box<dyn Array>, PolarsError>