We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8ac2c commit c46875bCopy full SHA for c46875b
pandas/core/reshape/merge.py
@@ -920,15 +920,15 @@ def _maybe_coerce_merge_keys(self):
920
'columns where the float values '
921
'are not equal to their int '
922
'representation', UserWarning)
923
- pass
+
924
925
elif is_float_dtype(rk) and is_integer_dtype(lk):
926
if not (rk == rk.astype(lk.dtype)).all():
927
warnings.warn('You are merging on int and float '
928
929
930
931
932
933
# let's infer and see if we are ok
934
elif lib.infer_dtype(lk) == lib.infer_dtype(rk):
0 commit comments