Function polars_arrow::compute::temporal::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). Use can_iso_week to check if this operation is supported for the target ArrowDataType