Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Alternate groupby API that is more functionally consistent with databases or systems like dplyr #15

Open
wesm opened this issue Sep 7, 2016 · 2 comments
Labels

Comments

@wesm
Copy link
Owner

wesm commented Sep 7, 2016

pandas's row indexes introduces a level of semantic incompatibility with other systems that occasionally causes problems for users who are using both pandas and some other system.

Functionally, this mainly means returning the group keys as data columns rather than row index. In the case of .apply, it may make sense to discard the group keys altogether.

We may also discuss a means to make specifying more complex aggregations easier in a separate issue

@jreback
Copy link

jreback commented Sep 15, 2016

related to this, we might make groupby().filter() a lazy method with returned a filtered groupby (rather than an imemdiate evaluation)

@wesm
Copy link
Owner Author

wesm commented Sep 16, 2016

definitely, re: #7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants