Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: deduplicate columns/extract unique columns #283

Open
peterjc opened this issue Oct 14, 2021 · 0 comments
Open

Feature Request: deduplicate columns/extract unique columns #283

peterjc opened this issue Oct 14, 2021 · 0 comments

Comments

@peterjc
Copy link

peterjc commented Oct 14, 2021

We can use the Unix command line tools sort and uniq to remove duplicate rows in plain text table, but I find myself wanting to do something similar with duplicated columns.

For example, after doing xsv join ... there will be at least one pair of duplicated columns (the values used for the join).

I am hoping for something like a column based version of the row based dedup command proposed on #83 (see jqnatividad/qsv#26 on the qsv fork).

I suspect I could workaround this via the proposed transpose command (see #137 / #146), which has been merged in the qsv fork.

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

No branches or pull requests

1 participant