Function polars_arrow::compute::temporal::day

source ยท
pub fn day(array: &dyn Array) -> PolarsResult<PrimitiveArray<i8>>
Available on crate feature compute_temporal only.
Expand description

Extracts the days of a temporal array as PrimitiveArray<i8>. Value ranges from 1 to 32 (Last day depends on month). Use can_day to check if this operation is supported for the target ArrowDataType.