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!

贡献者指南