Skip to content

Commit 740bb75

Browse files
committed
small fix
1 parent b1e876a commit 740bb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5397,7 +5397,7 @@ def _find_common_type_compat(self, target) -> DtypeObj:
53975397

53985398
target_dtype, _ = infer_dtype_from(target, pandas_dtype=True)
53995399

5400-
# special case: if either is uint64 and other dtype is signed int, return object
5400+
# special case: if one dtype is uint64 and the other a signed int, return object
54015401
# See https://github.com/pandas-dev/pandas/issues/26778 for discussion
54025402
# Now it's:
54035403
# * float | [u]int -> float

0 commit comments

Comments
 (0)