Skip to content
Prev Previous commit
Next Next commit
fix type
  • Loading branch information
pbrochart committed Jun 19, 2025
commit e0afe0bde584a59e5c107d7fd5886b311d65ab8f
4 changes: 2 additions & 2 deletions pandas/core/dtypes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,9 +777,9 @@ def is_implicit_conversion_to_float64(source, target) -> bool:
# should also work
if (
src.kind in "iu"
and src.itemsize == 8
and src.itemsize == 8 # type: ignore[union-attr]
and tar.kind in "iu"
and tar.itemsize == 8
and tar.itemsize == 8 # type: ignore[union-attr]
):
return src != tar
else:
Expand Down
Loading