Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def is_(self, other) -> bool:
return True
elif not hasattr(other, "_id"):
return False
elif com.any_none(self._id, other._id):
elif self._id is None or other._id is None:
return False
else:
return self._id is other._id
Expand Down