-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: unstack(fill_value) does nothing when unstacking multiple columns #13971
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
multiple unstacks are fraught with issues, see #9023 and #11847. you can do this. of course a PR to fix is welcome!
I'll mark it, but its a rabbit hole. |
Unstacking is inconsistent since |
In #9746 we got a
fill_value
argument forpd.unstack()
. But it does nothing if we unstack multiple levels at once:That gives:
It should give zeros instead of NaN.
Pandas 0.18.1.
The text was updated successfully, but these errors were encountered: