Skip to content

Loading…

ENH: provide keyword to groupby to reindex by all possible indicies for a multi-index #3835

Closed
jreback opened this Issue · 5 comments

2 participants

@jreback

http://stackoverflow.com/questions/17027470/pandas-groupby-and-multiindex

not sure how useful this is....but say we provide dropna=True (which is the current behavior), but if dropna=False then can reindex by all the combinations of each index level as a reindexer...

@hayd
Python for Data member

This would make for a much better solution for #3820.

@jreback

I think its the same op with 2 diff questions....but yes

@hayd
Python for Data member

vaguely related #3999

@jreback jreback modified the milestone: 0.15.0, 0.14.0
@jreback

user can just use multiindex.from_product and reindex

@jreback jreback closed this
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.