We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a31d9 commit a54bf58Copy full SHA for a54bf58
pandas/_libs/lib.pyx
@@ -2546,7 +2546,7 @@ def maybe_convert_objects(ndarray[object] objects,
2546
if not convert_non_numeric:
2547
seen.object_ = True
2548
break
2549
- elif util.is_nan(val) or is_matching_na(val, C_NA):
+ elif util.is_nan(val):
2550
seen.nan_ = True
2551
mask[i] = True
2552
if util.is_complex_object(val):
@@ -2555,8 +2555,6 @@ def maybe_convert_objects(ndarray[object] objects,
2555
seen.complex_ = True
2556
if not convert_numeric:
2557
2558
- elif is_matching_na(val, C_NA):
2559
- floats[i] = complexes[i] = fnan
2560
else:
2561
floats[i] = complexes[i] = val
2562
elif util.is_bool_object(val):
0 commit comments