Skip to content

Commit 33974a8

Browse files
authored
ruff format
1 parent 9ebc1a4 commit 33974a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/missing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ def mask_missing(arr: ArrayLike, values_to_mask) -> npt.NDArray[np.bool_]:
132132
# to the original equality check.
133133
try:
134134
# In case of an uncastable type, this will emit TypeError
135-
new_mask = np.equal(arr, x) # type: ignore[arg-type]
135+
new_mask = np.equal(arr, x) # type: ignore[arg-type]
136136
except TypeError:
137137
# Old behaviour for uncastable types
138138
new_mask = arr == x
139139

140140
if not isinstance(new_mask, np.ndarray):
141141
# usually BooleanArray
142142
if isinstance(new_mask, bool):
143-
new_mask = np.array([new_mask], dtype= bool)
143+
new_mask = np.array([new_mask], dtype=bool)
144144
else:
145145
new_mask = new_mask.to_numpy(dtype=bool, na_value=False)
146146
mask |= new_mask

0 commit comments

Comments
 (0)