polars_arrow::compute::temporal

Function iso_week

Source
pub fn iso_week(array: &dyn Array) -> PolarsResult<PrimitiveArray<i8>>
Available on crate feature compute_temporal only.
Expand description

Extracts ISO week of a temporal array as PrimitiveArray<i8>.

Value ranges from 1 to 53 (Last week depends on the year).