-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: MultiIndex.get_level_values
mentions implicit type casting if level contains null.
#44894
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you mention that this happens because we convert the level to a regular Index instead of a MultiIndex
I was hesitant to write "internally MultiIndex is implemented by codes but regular index doesn't", concerning that reveals too much implementation details in the docstring. Let me know if it fits in. |
can you add an example which illustrates this as well. |
Example added. @jreback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one comment. ping when ready
thanks @isVoid |
…ions implicit type casting if level contains null.
@meeseeksdev backport 1.4.x |
Something went wrong ... Please have a look at my logs. |
…cit type casting if level contains null. (#45210) Co-authored-by: Michael Wang <[email protected]>
dtypes
andget_level_values
#44792