Created by: haridsv
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.