pub fn hour(array: &dyn Array) -> PolarsResult<PrimitiveArray<i8>>Expand description
Extracts the hours of a temporal array as PrimitiveArray<i8>.
Value ranges from 0 to 23.
Use [can_hour] to check if this operation is supported for the target ArrowDataType.