Window#

Expr.over(partition_by, *more_exprs[, ...])

Compute expressions over the given groups.

Expr.rolling(index_column, *, period[, ...])

Create rolling groups based on a temporal or integer column.