-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
ENH: add MultiIndex.to_dataframe #15216
Conversation
odd that [57] can produce duplicates. any thoughts @mikegraham but I have a case where I just want to uniquely hash values (no index) |
Current coverage is 86.30% (diff: 100%)
|
@jorisvandenbossche ok with this? (I need to build on top of this for other things)..... |
Yes, looks good. Only thing I am wondering is the name. We already have Also wondering if this should be restricted to MultiIndex and not just general for Index (but that can certainly go in a follow-up PR if we want that) |
sure will change not sure if we should add this to |
I wrote Index, not Series (but maybe that's what you meant :-)). Index already has a |
@jorisvandenbossche yeah that is a fair point, we can revisit, i'll create an issue. |
closes pandas-dev#12397 Author: Jeff Reback <jeff@reback.net> Closes pandas-dev#15216 from jreback/to_dataframe and squashes the following commits: b744fb5 [Jeff Reback] ENH: add MultiIndex.to_dataframe
ENH: allow hashing of MultiIndex
closes #12397