polars::prelude

Function impl_replace_time_zone

Source
pub fn impl_replace_time_zone(
    datetime: &Logical<DatetimeType, Int64Type>,
    ambiguous: &ChunkedArray<StringType>,
    non_existent: NonExistent,
    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.