rolling#

class pylibcudf.rolling.BoundedClosed#

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.

Attributes

delta

class pylibcudf.rolling.BoundedOpen#

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.

Attributes

delta

class pylibcudf.rolling.CurrentRow#

A current row rolling window.

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

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

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.

class pylibcudf.rolling.Unbounded#

An unbounded rolling window.

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