Skip to content

Commit 49350bd

Browse files
ShaharNavehSeeminSyed
authored andcommitted
BLD: Suppressing warnings when compiling pandas/_libs/writers (pandas-dev#32795)
1 parent 40d91c7 commit 49350bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/writers.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def write_csv_rows(
3636
"""
3737
# In crude testing, N>100 yields little marginal improvement
3838
cdef:
39-
Py_ssize_t i, j, k = len(data_index), N = 100, ncols = len(cols)
39+
Py_ssize_t i, j = 0, k = len(data_index), N = 100, ncols = len(cols)
4040
list rows
4141

4242
# pre-allocate rows

0 commit comments

Comments
 (0)