pub fn impl_replace_time_zone_fast(
datetime: &Logical<DatetimeType, Int64Type>,
ambiguous: Option<&str>,
timestamp_to_datetime: fn(_: i64) -> NaiveDateTime,
datetime_to_timestamp: fn(_: NaiveDateTime) -> i64,
from_tz: &Tz,
to_tz: &Tz,
) -> Result<ChunkedArray<Int64Type>, PolarsError>
Available on crate feature
polars-ops
only.Expand description
If ambiguous
is length-1 and not equal to “null”, we can take a slightly faster path.