Function polars::prelude::datetime::replace_time_zone
source ยท pub fn replace_time_zone(
datetime: &Logical<DatetimeType, Int64Type>,
time_zone: Option<&str>,
ambiguous: &ChunkedArray<StringType>,
non_existent: NonExistent
) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
Available on crate features
polars-ops
and timezones
only.