Skip to content

Commit c46875b

Browse files
committed
remove some pass statements
1 parent fc8ac2c commit c46875b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/reshape/merge.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -920,15 +920,15 @@ def _maybe_coerce_merge_keys(self):
920920
'columns where the float values '
921921
'are not equal to their int '
922922
'representation', UserWarning)
923-
pass
923+
924924

925925
elif is_float_dtype(rk) and is_integer_dtype(lk):
926926
if not (rk == rk.astype(lk.dtype)).all():
927927
warnings.warn('You are merging on int and float '
928928
'columns where the float values '
929929
'are not equal to their int '
930930
'representation', UserWarning)
931-
pass
931+
932932

933933
# let's infer and see if we are ok
934934
elif lib.infer_dtype(lk) == lib.infer_dtype(rk):

0 commit comments

Comments
 (0)