Skip to content

Commit e6a831f

Browse files
committed
Improve perf
1 parent b698772 commit e6a831f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/lib.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ def clean_index_list(list obj):
901901

902902
@cython.boundscheck(False)
903903
@cython.wraparound(False)
904-
def max_len_string_array(ndarray arr):
904+
def max_len_string_array(ndarray[object] arr):
905905
""" return the maximum size of elements in a 1-dim string array """
906906
cdef:
907907
Py_ssize_t i, m = 0, l = 0, length = arr.shape[0]

0 commit comments

Comments
 (0)