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 950e0bf commit cd86d6aCopy full SHA for cd86d6a
pandas/_libs/lib.pyx
@@ -571,6 +571,11 @@ def array_equivalent_object(left: object[:], right: object[:]) -> bool:
571
if PyArray_Check(x) and PyArray_Check(y):
572
if not array_equivalent_object(x, y):
573
return False
574
+ elif x is C_NA or y is C_NA:
575
+ if x is C_NA and y is C_NA:
576
+ return True
577
+ else:
578
+ return False
579
elif not (PyObject_RichCompareBool(x, y, Py_EQ) or
580
(x is None or is_nan(x)) and (y is None or is_nan(y))):
581
0 commit comments