polars_lazy::dsl

Function datetime_range

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

Create a datetime range from a start and stop expression.