Skip to content

Commit a533230

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 91309bd commit a533230

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/dtypes/common.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,8 +776,10 @@ def is_implicit_conversion_to_float64(source, target) -> bool:
776776
# other data types derived from 64-bit integers such as U/Int64Dtype
777777
# should also work
778778
if (
779-
src.kind in "iu" and src.itemsize == 8
780-
and tar.kind in "iu" and tar.itemsize == 8
779+
src.kind in "iu"
780+
and src.itemsize == 8
781+
and tar.kind in "iu"
782+
and tar.itemsize == 8
781783
):
782784
return src != tar
783785
else:

0 commit comments

Comments
 (0)