Function arrow::compute::month

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

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