The datamash commands you already know, with quoted CSV, weighted means and complete-record selection. Inspect table health. Compare datasets. Get the same numbers on every supported machine.
$ fastmash --help
Operations:sum Sum the selected field
mean Arithmetic mean of the selected field
wmean Weighted mean of a VALUE:WEIGHT field pair
… help excerpt …$ fastmash --csv -H -s -g region \
--result-name=1:total sum revenue < sales.csv
GroupBy(region),total
east,4
"west,coast",8
$
Readable help in color. Clean data for the next step in your pipeline.
From raw exports to useful answers
More of your workflow, in one command
Keep familiar field selectors and grouping. Add the tools that make daily table work easier.
01 / REPORT
CSV in. Named results out.
Read quoted fields with commas and line breaks. Write CSV reports with stable column names, grouping and weighted means.
GNU datamash's operations, options, field selectors, grouping and headers. Most scripts can switch by changing the program name; the migration guide covers the documented differences.