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

as_index in GroupBy still not fully implemented #181

Closed
wesm opened this issue Sep 28, 2011 · 1 comment
Closed

as_index in GroupBy still not fully implemented #181

wesm opened this issue Sep 28, 2011 · 1 comment
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm commented Sep 28, 2011

df = DataFrame({'A' : ['foo', 'bar', 'foo', 'bar',
                          'foo', 'bar', 'foo', 'foo'],
                   'B' : ['one', 'one', 'two', 'three',
                          'two', 'two', 'one', 'three'],
                   'C' : randn(8), 'D' : randn(8)})
df
   grouped = df.groupby('A')
grouped = df.groupby('A')
grouped.agg(np.sum)
grouped = df.groupby('A', as_index=False)
grouped.agg(np.sum)
grouped.sum()

Adding @laserson so notifications go through

wesm added a commit that referenced this issue Oct 1, 2011
@wesm
Copy link
Member Author

wesm commented Oct 1, 2011

Fixed in the above commit

@wesm wesm closed this as completed Oct 1, 2011
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
packaging: Exclude benchmarks and tests
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