File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,12 @@ def f(self, other):
89
89
else :
90
90
other_codes = other ._codes
91
91
92
- na_mask = (self ._codes == - 1 ) | (other_codes == - 1 )
92
+ mask = (self ._codes == - 1 ) | (other_codes == - 1 )
93
93
f = getattr (self ._codes , op )
94
94
ret = f (other_codes )
95
- if na_mask .any ():
95
+ if mask .any ():
96
96
# In other series, the leads to False, so do that here too
97
- ret [na_mask ] = False
97
+ ret [mask ] = False
98
98
return ret
99
99
100
100
if is_scalar (other ):
@@ -103,10 +103,10 @@ def f(self, other):
103
103
ret = getattr (self ._codes , op )(i )
104
104
105
105
# check for NaN in self
106
- na_mask = (self ._codes == - 1 )
107
- if na_mask .any ():
106
+ mask = (self ._codes == - 1 )
107
+ if mask .any ():
108
108
# comparison to missing values NaN leads to False
109
- ret [na_mask ] = False
109
+ ret [mask ] = False
110
110
return ret
111
111
else :
112
112
if op == '__eq__' :
You can’t perform that action at this time.
0 commit comments