UNPKG

@tidyjs/tidy

Version:

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

10 lines (7 loc) 240 B
import { mean as mean$1 } from '../helpers/summation.js'; function mean(key) { const keyFn = typeof key === "function" ? key : (d) => d[key]; return (items) => mean$1(items, keyFn); } export { mean }; //# sourceMappingURL=mean.js.map