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: enable global nesting by group #1353

Open
aborruso opened this issue Aug 10, 2023 · 0 comments
Open

Feature request: enable global nesting by group #1353

aborruso opened this issue Aug 10, 2023 · 0 comments

Comments

@aborruso
Copy link
Contributor

Hi,
I would like to apply to this input

a,b,c
1,lorem,ips
1,rem,ips
2,cio,ran
2,sop,du

something like

mlr --csv nest -g a --nested-fs ";" input.csv

to get

a,b,c
1,lorem;rem,ips;ips
2,cio;sop,ran;du

And if it were possible to have the option to have uniq nested values:

mlr --csv nest -g a --nested-fs ";" --uniq input.csv

to get

a,b,c
1,lorem;rem,ips
2,cio;sop,ran;du

Thank you

@johnkerl johnkerl changed the title feature request: enable global nesting by group Feature request: enable global nesting by group Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants