
How to Conditionally Sum and Group Data with awk
One line. No spreadsheet, no database, no extra dependencies.
Save pandas and NumPy for when you actually need a DataFrame. For this? awk just showed up and did the job.
Thoughts on this, that and the rest
Thoughts on this, that and the rest

One line. No spreadsheet, no database, no extra dependencies.
Save pandas and NumPy for when you actually need a DataFrame. For this? awk just showed up and did the job.

Imagine you have a file with multiple columns and you need to quickly get the total of a column in command line in UNIX. The easiest way is to use AWK in the command line. Let’s take the following file:…