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 ca60688 commit 74ee7e8Copy full SHA for 74ee7e8
pandas/core/indexes/base.py
@@ -547,11 +547,17 @@ def is_(self, other) -> bool:
547
Parameters
548
----------
549
other : object
550
- other object to compare against.
+ Other object to compare against.
551
552
Returns
553
-------
554
- True if both have same underlying data, False otherwise : bool
+ bool
555
+ Boolean indicating if both object have same underlying data,
556
+ False otherwise.
557
+
558
+ See Also
559
+ --------
560
+ Index.identical : Works like Index.is_ but also check metadata.
561
"""
562
# use something other than None to be clearer
563
return self._id is getattr(other, "_id", Ellipsis) and self._id is not None
0 commit comments