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 1f5fd1a commit 93cdef8Copy full SHA for 93cdef8
pandas/_libs/lib.pyx
@@ -1530,8 +1530,8 @@ cpdef bint is_integer_array(ndarray values):
1530
1531
cdef class IntegerNaValidator(Validator):
1532
cdef inline bint is_value_typed(self, object value) except -1:
1533
- return util.is_integer_object(value) or (util.is_nan(value)
1534
- and util.is_float_object(value))
+ return util.is_integer_object(value)
+ or (util.is_nan(value) and util.is_float_object(value))
1535
1536
1537
cdef bint is_integer_na_array(ndarray values):
0 commit comments