Skip to content
Prev Previous commit
Next Next commit
Update location of underlying numpy function
  • Loading branch information
alysivji committed Mar 4, 2018
commit 1fc4b33fab0404ef28fa2790a3523b729eea388d
2 changes: 1 addition & 1 deletion pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def repeat(self, repeats, *args, **kwargs):

See also
Copy link
Member

Choose a reason for hiding this comment

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

If I'm not wrong, "See Also" should have capital "A"

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that is correct (although that numpydoc will still recognize it correctly, as it tries to capitalize the words if they are not)

--------
numpy.ndarray.repeat
numpy.repeat
Copy link
Member

Choose a reason for hiding this comment

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

Some information on why numpy.repeat is in the See Also, and differences among them if they exist would be useful.

Also, that's more an open question, but could make sense to list here something like Index.is_unique for example? Probably if we describe better real use-cases, we'll find other related methods.


Examples
--------
Expand Down