polars_plan::dsl::functions

Function datetime_range

Source
pub fn datetime_range(
    start: Expr,
    end: Expr,
    interval: Duration,
    closed: ClosedWindow,
    time_unit: Option<TimeUnit>,
    time_zone: Option<TimeZone>,
) -> Expr
Available on crate features range and dtype-datetime only.
Expand description

Create a datetime range from a start and stop expression.