pub fn week<T>(array: &PrimitiveArray<T>) -> Result<Int32Array> where
T: ArrowTemporalType + ArrowNumericType,
i64: From<T::Native>,
Expand description
Extracts the week of a given temporal array as an array of integers
pub fn week<T>(array: &PrimitiveArray<T>) -> Result<Int32Array> where
T: ArrowTemporalType + ArrowNumericType,
i64: From<T::Native>,
Extracts the week of a given temporal array as an array of integers