Skip to main content

WindowOptions

Defined in: js-api/src/dataframe/stats.ts:17

How Stats.cumSum and Stats.movingAvg walk the column.

Properties

PropertyTypeDescriptionDefined in
ascending?boolean[]Sort direction for each of orderBy; all ascending when omitted.js-api/src/dataframe/stats.ts:21
by?ColumnId[]Columns whose groups are accumulated separately.js-api/src/dataframe/stats.ts:23
order?number[] | Int32Array<ArrayBufferLike>An explicit visit order (row indexes), such as grid.getRowOrder(). Takes precedence over orderBy.js-api/src/dataframe/stats.ts:25
orderBy?ColumnId[]Columns to walk the rows along instead of the natural row order. Rows that compare equal keep their order.js-api/src/dataframe/stats.ts:19