data-forge
Version:
JavaScript data transformation and analysis toolkit inspired by Pandas and LINQ.
19 lines • 791 B
JavaScript
;
//
// Iterates an underlying iterable in the 'windows'.
//
Object.defineProperty(exports, "__esModule", { value: true });
var series_window_iterator_1 = require("../iterators/series-window-iterator");
var SeriesWindowIterable = /** @class */ (function () {
function SeriesWindowIterable(iterable, period, whichIndex) {
this.iterable = iterable;
this.period = period;
this.whichIndex = whichIndex;
}
SeriesWindowIterable.prototype[Symbol.iterator] = function () {
return new series_window_iterator_1.SeriesWindowIterator(this.iterable, this.period, this.whichIndex);
};
return SeriesWindowIterable;
}());
exports.SeriesWindowIterable = SeriesWindowIterable;
//# sourceMappingURL=series-window-iterable.js.map