Skip to content

Conversation

@seamusabshere
Copy link
Member

technically redundant with xsv select, but sometimes when processing very large files you don't want to emit all that data to a pipeline just to immediately discard it

technically redundant with `xsv select`, but sometimes when processing very large files you don't want to emit all that data to a pipeline just to immediately discard it
/// So if you pass `--clean-column-names=stable`, and your original column name is "Column Name",
/// you should pass "column_name" here.
#[structopt(long = "select-columns")]
select_columns: Option<String>,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i chose to implement this as a single argument with a csv, unlike --drop-row-if-null, because you could easily have 100 columns you want to select out of 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants