onyxfish/csvkit — pull request #134 by haridsv (2011-12-15 03:02:27+00:00)
Title: Limit stat output and add standard deviation

Before I found csvkit, I used to frequently pipe columns (using `"cut -d, -f"`) to awk (with something like `awk {sum += $0;} END {print sum;}`), so I wanted similar functionality with csvkit. Basically, I added options such as `--sum` that only print the requested stat. This is very useful for further processing, especially when there is only a single column, as you could do command substitution in scripts.

I also added "standard deviation" to the set of stats printed.