We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 279fdf6 commit 818ab4dCopy full SHA for 818ab4d
pandas/core/missing.py
@@ -39,8 +39,6 @@ def mask_missing(arr, values_to_mask):
39
# numpy elementwise comparison warning
40
if is_numeric_v_string_like(arr, x):
41
mask = False
42
- # elif is_object_dtype(arr):
43
- # mask = lib.scalar_compare(arr, x, operator.eq)
44
else:
45
mask = arr == x
46
@@ -53,8 +51,6 @@ def mask_missing(arr, values_to_mask):
53
51
54
52
55
mask |= False
56
57
- # mask |= lib.scalar_compare(arr, x, operator.eq)
58
59
mask |= arr == x
60
0 commit comments