Skip to content

Commit fe6e56d

Browse files
authored
DOC: Fix validation issues with Index.is_ docstring (#34882)
1 parent aaa9cd0 commit fe6e56d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pandas/core/indexes/base.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,12 @@ def is_(self, other) -> bool:
518518
519519
Returns
520520
-------
521-
True if both have same underlying data, False otherwise : bool
521+
bool
522+
True if both have same underlying data, False otherwise.
523+
524+
See Also
525+
--------
526+
Index.identical : Works like ``Index.is_`` but also checks metadata.
522527
"""
523528
# use something other than None to be clearer
524529
return self._id is getattr(other, "_id", Ellipsis) and self._id is not None

0 commit comments

Comments
 (0)