-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Examples in MultiIndex.rename documentation do not call the function #17334
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
Thanks, yeah, something strange happening with the sphinx build. The actual docstring is fine, but somehow https://github.com/pandas-dev/pandas/blob/v0.20.3/pandas/core/indexes/base.py#L1125 |
If you look at the actual docstring in a console, it is what is shown on the web page. And It is due to this line: https://github.com/pandas-dev/pandas/blob/v0.20.3/pandas/core/indexes/multi.py#L78 So |
Interesting, so in looking at this more deeply, it looks like |
Looks like MutiIndex.rename no longer exists, so closing this issue |
Code Sample
In Pandas version 0.20, The documentation for the function
pandas.MultiIndex.rename
includes an "Examples" section with five lines of Python code.Here are the examples:
Problem description
The examples do not call the
MultiIndex.rename
function. Expected contents of the documentation: the examples given for therename
function should actually call therename
function.Output of
pd.show_versions()
N/A, documentation bug.
Meta note
The link above will begin pointing at documentation for a different version of Pandas once the successor to version 0.20 is released as a stable version. Unfortunately, there is no link to version 0.20 documentation per se on the pandas homepage.
The text was updated successfully, but these errors were encountered: