polars::prelude

Function time_ranges

pub fn time_ranges(
    start: Expr,
    end: Expr,
    interval: Duration,
    closed: ClosedWindow,
) -> Expr
Available on crate features lazy and dtype-time only.
Expand description

Create a column of time ranges from a start and stop expression.