Skip to content

Commit bffb646

Browse files
committed
do not needlessly initialize a variable
1 parent c68c67e commit bffb646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/hashtable.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ cdef build_count_table_object(ndarray[object] values,
970970
cpdef value_count_object(ndarray[object] values,
971971
ndarray[uint8_t, cast=True] mask):
972972
cdef:
973-
Py_ssize_t i = len(values)
973+
Py_ssize_t i
974974
kh_pymap_t *table
975975
int k
976976

0 commit comments

Comments
 (0)