datamash
linux
Perform basic numeric, textual, and statistical operations on input textual data files.
More info →Options (1)
-R, --roundbooleanGet the mean of a single column of numbers with a given decimal precision
Example:
echo -e '1\n2\n3\n4\n5\n5' | datamash {{[-R|--round]}} {{number_of_decimals_wanted}} mean 1Examples (4)
Get max, min, mean, and median of a single column of numbers
Get the mean of a single column of float numbers (floats must use "," and not ".")
Get the mean of a single column of numbers with a given decimal precision
made by @shridhargupta | data from tldr-pages