ibis.trailing_range_window(preceding, order_by, group_by=None)

Create a trailing time window for use with aggregate window functions.

preceding : float or expression of intervals, i.e.

1 * ibis.day() + 5 * ibis.hour()

order_by : expressions, default None

For analytic functions requiring an ordering, specify here, or let Ibis determine the default ordering (for functions like rank)

group_by : expressions, default None

Either specify here or with TableExpr.group_by

win: ibis Window