Function arrow::compute::kernels::temporal::year[][src]

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

Extracts the years of a given temporal array as an array of integers