Questions tagged [datamash]

For questions about GNU datamash, or its usage. Don’t use this tag for questions where answers involve datamash, unless the questions are specifically about datamash. GNU datamash is a command-line program which applies basic numeric, statistical and textual operations to its input: verifying field structure, calculating averages, etc.

Filter by
Sorted by
Tagged with
0
votes
2answers
56 views

SSV/CSV Manipulation: Calculate Ratios

Note that I am aware of datamash and an experienced awk user. I am looking for something a bit simpler/streamlined than awk. Suppose I have the following: // data_file foo bar biz 10 100 1000 11 ...
0
votes
1answer
32 views

GNU datamash: apply field operation to all columns?

In GNU datamash, how does one run a field operation (in my case, countunique) on all columns? For example, in pseudo-code: cat BFCSV.csv | datamash -t',' countunique *