polars_lazy::dsl::functions

Function datetime_ranges

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.