pub fn replace_date(
ca: &Logical<DateType, Int32Type>,
year: &ChunkedArray<Int32Type>,
month: &ChunkedArray<Int8Type>,
day: &ChunkedArray<Int8Type>,
) -> Result<Logical<DateType, Int32Type>, PolarsError>
Available on crate feature
temporal
and (crate features dtype-date
or dtype-datetime
) and crate feature dtype-date
only.Expand description
Replace specific time component of a DateChunked
with a specified value.