data-forge-beta
Version:
JavaScript data transformation and analysis toolkit inspired by Pandas and LINQ.
9 lines (8 loc) • 370 B
TypeScript
import { ISeries } from '../series';
export declare class SeriesRollingWindowIterator<IndexT, ValueT> implements Iterator<ISeries<IndexT, ValueT>> {
iterable: Iterable<[IndexT, ValueT]>;
period: number;
windowIndex: number;
constructor(iterable: Iterable<[IndexT, ValueT]>, period: number);
next(): IteratorResult<ISeries<IndexT, ValueT>>;
}