Skip to content

Commit 5f7db13

Browse files
committed
Fix
1 parent de8eed1 commit 5f7db13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/missing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def _isna_ndarraylike_old(obj):
235235

236236
if is_extension_array_dtype(dtype):
237237
result = values.isna() | (values == -np.inf) | (values == np.inf)
238-
if is_string_dtype(dtype):
238+
elif is_string_dtype(dtype):
239239
result = _isna_string_dtype(values, dtype, old=True)
240240
elif needs_i8_conversion(dtype):
241241
# this is the NaT pattern

0 commit comments

Comments
 (0)