pub fn year(array: &dyn Array) -> PolarsResult<PrimitiveArray<i32>>Expand description
Extracts the years of a temporal array as PrimitiveArray<i32>.
pub fn year(array: &dyn Array) -> PolarsResult<PrimitiveArray<i32>>Extracts the years of a temporal array as PrimitiveArray<i32>.