We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d9c200 commit 47c4df9Copy full SHA for 47c4df9
pandas/core/indexes/base.py
@@ -545,11 +545,17 @@ def is_(self, other) -> bool:
545
Parameters
546
----------
547
other : object
548
- other object to compare against.
+ Other object to compare against.
549
550
Returns
551
-------
552
- True if both have same underlying data, False otherwise : bool
+ bool
553
+ Boolean indicating if both object have same underlying data,
554
+ False otherwise.
555
+
556
+ See Also
557
+ --------
558
+ Index.identical : Works like Index.is_ but also check metadata.
559
"""
560
# use something other than None to be clearer
561
return self._id is getattr(other, "_id", Ellipsis) and self._id is not None
0 commit comments