Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add aggregate method to DataFrame #1623

Open
wesm opened this Issue · 1 comment

3 participants

Wes McKinney Arthur Gerigk jreback
Wes McKinney
Owner

a la groupby-aggregate

Arthur Gerigk

I don't know whether this is a separate issue but a similar request would be to be able to use a non-unique 1d index for groupby.
If I have a MultiIndex I can do df.groupby(level = 'A'), but if the index is only 'A' I have to drop the index and then group by the column.
My concrete use case in this context is df.groupby(level='A').first() where 'A' is the index. It fails whenever I happen to have a 1d index.

jreback jreback modified the milestone: Someday, 0.14.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.