We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed199c commit 80a6d68Copy full SHA for 80a6d68
pandas/core/indexes/base.py
@@ -5396,7 +5396,7 @@ def _find_common_type_compat(self, target) -> DtypeObj:
5396
5397
target_dtype, _ = infer_dtype_from(target, pandas_dtype=True)
5398
5399
- # 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
5400
# See https://github.com/pandas-dev/pandas/issues/26778 for discussion
5401
# Now it's:
5402
# * float | [u]int -> float
0 commit comments