pub fn month(array: &dyn Array) -> PolarsResult<PrimitiveArray<i8>>
Available on crate feature
compute_temporal
only.Expand description
Extracts the months of a temporal array as PrimitiveArray<i8>
.
Value ranges from 1 to 12.