Skip to content

Commit e0afe0b

Browse files
committed
fix type
1 parent 73ad0dc commit e0afe0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/dtypes/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,9 +777,9 @@ def is_implicit_conversion_to_float64(source, target) -> bool:
777777
# should also work
778778
if (
779779
src.kind in "iu"
780-
and src.itemsize == 8
780+
and src.itemsize == 8 # type: ignore[union-attr]
781781
and tar.kind in "iu"
782-
and tar.itemsize == 8
782+
and tar.itemsize == 8 # type: ignore[union-attr]
783783
):
784784
return src != tar
785785
else:

0 commit comments

Comments
 (0)