Closed MostafaYA closed 11 months ago
$ csvtk freq example2.txt -k | csvtk pretty
Country frequency
-------------- ---------
Argentina 4
Australia 86
Austria 2
Belgium 34
Sorry for the oversight. I didn't notice this cmd at all.
Prerequisites
csvtk version
Describe your issue
example1.txt example2.txt
Hi, I am attaching two examples for you. My aim to to calculate the frequency of the value (country in the examples). I do the following to summarize the frequency. This is mostly relying on col 1.
In example2, I do have only one column and the above code will not work. any suggestion?
Thank you
I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).