-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
MultiIndex reindex should behave like Index. #7895
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
Comments
we were just discussing this today |
That seemed kind of different to me, but maybe I'm not looking closely enough. |
see also comments in #7867 |
you can do this easily with a groupby something like
prob could directly make reindex a groupby method (so make this syntactically nicer) |
Ya, I guess this is a bit awkward
|
In my case the solution has been to create a full multiindex by: |
Could create a utility like this.
@jreback - does there exist a "blessed" library for pandas utils that don't quite belong in core, but show up often enough to warrant being cataloged somewhere? |
xref #10347
I'm having trouble understand how exactly reindex is supposed to work in the case of MultiIndex. What I would like is the exact behavior in the Index case where values can be filled or padded according to some level of the MultiIndex. I can't understand what reindex is doing in the MultiIndex case. The below is an example where I would like to interpolate using the prior value a month frame to an hourly frame.
The text was updated successfully, but these errors were encountered: