UNPKG

@tidyjs/tidy

Version:

Tidy up your data with JavaScript, inspired by dplyr and the tidyverse

14 lines (9 loc) 336 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var summation = require('../helpers/summation.js'); function cumsum(key) { const keyFn = typeof key === "function" ? key : (d) => d[key]; return (items) => summation.fcumsum(items, keyFn); } exports.cumsum = cumsum; //# sourceMappingURL=cumsum.js.map