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

additional options for pivot_wider and pivot_longer #10

Open
rdboyes opened this issue Mar 15, 2023 · 2 comments
Open

additional options for pivot_wider and pivot_longer #10

rdboyes opened this issue Mar 15, 2023 · 2 comments

Comments

@rdboyes
Copy link
Member

rdboyes commented Mar 15, 2023

As implemented, @pivot_wider and @pivot_longer only support a small number of the options which are supported by their tidyverse counterparts pivot_longer and pivot_wider. The additional options are ones that I personally rarely use and/or don't have clear analogs in stack() and unstack(). I'm interested to hear if there are specific options that others get a lot of use out of that should be prioritized.

@kdpsingh
Copy link
Member

As a general philosophy, we shouldn't go out of our way to support functionality that isn't directly built into DataFrames.jl or is trivial to add on top. If something is missing in that package, I would recommend we file an issue there.

The main functionality I'd like to see is the ability to specify more than one selection separated by commas for pivot_longer().

@kdpsingh
Copy link
Member

No urgency on this @rdboyes, but I just want to figure out if we should close this issue.

Should we work on adding the ability to select multiple columns separated by commas? Anything else from your end that we should prioritize here?

Just want to make sure if no changes planned, that we close this. But I do think there's room for that one tiny improvement before closing. Happy to help with implementation if you'd like me to take a look.

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

2 participants