Skip to content

Commit 75e2c2b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7f4079c commit 75e2c2b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/core/indexes/base.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5471,10 +5471,9 @@ def equals(self, other: Any) -> bool:
54715471
# quickly return if the lengths are different
54725472
return False
54735473

5474-
if (
5475-
(isinstance(self.dtype, StringDtype) or is_object_dtype(self.dtype)) and
5476-
(isinstance(other.dtype, StringDtype) or is_object_dtype(other.dtype))
5477-
):
5474+
if (isinstance(self.dtype, StringDtype) or is_object_dtype(self.dtype)) and (
5475+
isinstance(other.dtype, StringDtype) or is_object_dtype(other.dtype)
5476+
):
54785477
return array_equivalent(self._values, other._values)
54795478

54805479
if (

0 commit comments

Comments
 (0)