polars_arrow::compute::temporal

Function 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).