Skip to content

Commit 5d72da1

Browse files
committed
declare cnp.dtype
1 parent a3bf0a0 commit 5d72da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/lib.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def array_equivalent_object(left: object[:], right: object[:]) -> bool:
633633

634634
@cython.wraparound(False)
635635
@cython.boundscheck(False)
636-
def astype_intsafe(ndarray[object] arr, new_dtype) -> ndarray:
636+
def astype_intsafe(ndarray[object] arr, cnp.dtype new_dtype) -> ndarray:
637637
cdef:
638638
Py_ssize_t i, n = len(arr)
639639
object val

0 commit comments

Comments
 (0)