You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From similar classes I see that we just add to the autosummary the methods specific to the index classes, and not the ones inherited from the parent Index. I guess we want to do the same here, but we need to make sure there are no warnings related to RangeIndex in the docs build.
We also want to make sure the docstring of RangeIndex is correct, and has the appropriate attributes and methods.
The text was updated successfully, but these errors were encountered:
From similar classes I see that we just add to the autosummary the methods specific to the index classes, and not the ones inherited from the parent Index. I guess we want to do the same here
Yep, indeed. Your PR looks fine for that.
Only not sure about the removal of the attributes from the RangeIndex docstring. To get those index specific attributes in the API docs, we need to list them manually (when you use the "class_without_autosummary" template)
xref #24173
Looks like we don't have
RangeIndex
in the documentation, and this is causing warnings:In https://github.com/pandas-dev/pandas/pull/26786/files I'm adding the class, but still will require the methods.
From similar classes I see that we just add to the autosummary the methods specific to the index classes, and not the ones inherited from the parent
Index
. I guess we want to do the same here, but we need to make sure there are no warnings related toRangeIndex
in the docs build.We also want to make sure the docstring of
RangeIndex
is correct, and has the appropriate attributes and methods.The text was updated successfully, but these errors were encountered: