Skip to content

Conversation

@Chiwendaiyue
Copy link
Contributor

"""
Return a new Index of the values selected by the indices.
For internal compatibility with numpy arrays.
Parameters
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This docstring needs spaces between sections

Examples
--------
>>> tz_naive = pd.date_range('2018-03-01 09:00', periods=3)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These indentations look incorrect

This function should be overloaded in subclasses that allow non-trivial
casting on label-slice bounds, e.g. datetime-like indices allowing
strings containing formatted datetimes.
Parameters
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This docstring needs spaces between sections

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mroeschke, I think I missed it accidentally. I've already fixed it, thanks for the review.

@mroeschke mroeschke added the Docs label Nov 30, 2025
@mroeschke mroeschke added this to the 3.0 milestone Nov 30, 2025
@mroeschke mroeschke merged commit 167b7e7 into pandas-dev:main Nov 30, 2025
46 checks passed
@mroeschke
Copy link
Member

Thanks @Chiwendaiyue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants