Function arrow::compute::hour_dyn

source ·
pub fn hour_dyn(
    array: &dyn Array
) -> Result<Arc<dyn Array + 'static>, ArrowError>
Expand description

Extracts the hours of a given array as an array of integers within the range of [0, 23]. If the given array isn’t temporal primitive or dictionary array, an Err will be returned.