polars::prelude::datetime

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