BurntSushi/xsv

Select columns based on regex

開放

#155 建立於 2018年10月28日

 (4 則留言) (0 個反應) (0 位負責人)Rust (315 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (9,730 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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!

貢獻者指南