We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1e876a commit 740bb75Copy full SHA for 740bb75
pandas/core/indexes/base.py
@@ -5397,7 +5397,7 @@ def _find_common_type_compat(self, target) -> DtypeObj:
5397
5398
target_dtype, _ = infer_dtype_from(target, pandas_dtype=True)
5399
5400
- # special case: if either is uint64 and other dtype is signed int, return object
+ # special case: if one dtype is uint64 and the other a signed int, return object
5401
# See https://github.com/pandas-dev/pandas/issues/26778 for discussion
5402
# Now it's:
5403
# * float | [u]int -> float
0 commit comments