Function arrow_arith::temporal::quarter

source ·
pub fn quarter<T>(array: &PrimitiveArray<T>) -> Result<Int32Array, ArrowError>where
    T: ArrowTemporalType + ArrowNumericType,
    i64: From<T::Native>,
Expand description

Extracts the quarter of a given temporal primitive array as an array of integers within the range of [1, 4].