Function year

Source
pub fn year(array: &dyn Array) -> PolarsResult<PrimitiveArray<i32>>
Expand description

Extracts the years of a temporal array as PrimitiveArray<i32>.