#468·csvkit

csvcut/csvgrep: Allow for numeric column names and column names containing hyphen (`--column-names`, `--column-indexes`)

Author: fgreggCreated Dec 2, 2015Updated Aug 27, 2024
Labelsfeaturecsvcutcsvgrep

I have data with a column names like

pre-k,k,01,02,03,04,05

where the numbers refer to grades. I can't select the 3rd grade column using csvcut

csvcut -c "k,03" returns the kindergarten row and the 2nd grade row (the fourth column)