@tidyjs/tidy
Version:
Tidy up your data with JavaScript, inspired by dplyr and the tidyverse
14 lines (9 loc) • 325 B
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
var summation = require('../helpers/summation.js');
function mean(key) {
const keyFn = typeof key === "function" ? key : (d) => d[key];
return (items) => summation.mean(items, keyFn);
}
exports.mean = mean;
//# sourceMappingURL=mean.js.map
;