polars_arrow::compute::cast

Function time64_to_time32

Source
pub fn time64_to_time32(
    from: &PrimitiveArray<i64>,
    from_unit: TimeUnit,
    to_unit: TimeUnit,
) -> PrimitiveArray<i32>
Available on crate feature compute_cast only.
Expand description

Conversion of time