BurntSushi/xsv

Select columns based on regex

Open

#155 geöffnet am 28. Okt. 2018

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (315 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (9.730 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I have a pretty unwieldy CSV file with a ton of columns (~300000) all with quite long column names. I'd really like to be able to select the columns using a regex rather than having to attempt to figure out a set of ranges from the header. Is this a feature you think would fit in xsv?

I'm not sure exactly what the input would look like; perhaps an additional flag to indicate that the selection(s) are regexes?

Thanks so much for all your work, by the way! :smiley:

Edit: forgot to say, I'd be happy to have a go at implementing this!

Contributor Guide