rolling#

2026-03-11

19 min read time

Applies to Linux

class pylibhipdf.rolling.BoundedClosed#

Bases: object

A bounded closed window.

This window contains rows with delta of the current row, endpoints included.

Parameters#

delta

Offset from current row, must be valid. If floating point must not be inf/nan.

delta#
class pylibhipdf.rolling.BoundedOpen#

Bases: object

A bounded open window.

This window contains rows with delta of the current row, endpoints excluded.

Parameters#

delta

Offset from current row, must be valid. If floating point must not be inf/nan.

delta#
class pylibhipdf.rolling.CurrentRow#

Bases: object

A current row rolling window.

This window contains all rows that are equal to the current row in the group.

class pylibhipdf.rolling.RollingRequest(Column values, size_type min_periods, Aggregation aggregation)#

Bases: object

A request for a rolling aggregation.

Parameters#

values

The column of values to aggregate.

min_periods

The minimum number of observations required for a valid result in a given window.

aggregation

The aggregation to perform.

__init__(*args, **kwargs)#
class pylibhipdf.rolling.Unbounded#

Bases: object

An unbounded rolling window.

This window runs to the begin/end of the current row’s group.