Skip to content

GroupBy with dict bug #679

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

Closed
wesm opened this issue Jan 24, 2012 · 1 comment
Closed

GroupBy with dict bug #679

wesm opened this issue Jan 24, 2012 · 1 comment
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm commented Jan 24, 2012

This used to work (cc @craustin):

from pandas import Series
s = Series({'T1': 5})
print s.groupby({'T1': 'T2'}).agg(sum)
@wesm
Copy link
Member Author

wesm commented Jan 24, 2012

Fixed this. Turns out this bug only was occurring when the dict was the same length as the Series. Glad you caught it

@wesm wesm closed this as completed Jan 24, 2012
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant