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

fix(pandas): gather default selection is all columns #451

Merged
merged 1 commit into from Sep 28, 2022
Merged

Conversation

machow
Copy link
Owner

@machow machow commented Sep 27, 2022

This PR fixes gather to behave more like in dplyr:

  • gather now will gather everything if no selections are specified (addresses Bug: gather does not select anything if *args is unspecified #448)
  • gather with grouped data attempts to re-apply any group keys remaining in the result:
    • group keys still in result data are kept
    • the measure or value var are not considered when re-applying a key
    • if no group keys can be re-applied, an ungrouped DataFrame is returned

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.

None yet

1 participant