Skip to content

Commit 593b687

Browse files
yuanx749XY
andcommitted
Fix
Co-authored-by: XY <[email protected]>
1 parent aac19c7 commit 593b687

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/_libs/lib.pyx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,9 +1974,11 @@ cdef class ComplexValidator(Validator):
19741974
return cnp.PyDataType_ISCOMPLEX(self.dtype)
19751975

19761976

1977-
cdef bint is_complex_array(ndarray values):
1977+
cdef bint is_complex_array(ndarray values, bint skipna=True):
19781978
cdef:
1979-
ComplexValidator validator = ComplexValidator(values.size, values.dtype)
1979+
ComplexValidator validator = ComplexValidator(values.size,
1980+
values.dtype,
1981+
skipna=skipna)
19801982
return validator.validate(values)
19811983

19821984

0 commit comments

Comments
 (0)