polars_lazy::dsl

Function datetime_ranges

Source
pub fn datetime_ranges(
    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 column of datetime ranges from a start and stop expression.