datamash -t, --header-in range 2 absmax 2 < data.csv
Show value range and absolute max of column 2
Computes range (maximum minus minimum) and absmax (the value farthest from zero) for column 2. Range is the simplest possible spread measure, while absmax matters when negative and positive values both appear in the data. Min and max are available as separate operations when you need the actual endpoints. These pair naturally with mean for a quick numeric summary.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.