local variable 'j' referenced before assignment
Created by: dougneedham
In table.py on line 237, I had to add j = 0 to define the variable J in order to get csvkit to work in my environment. Is this a bug, or did I do something else wrong? The subject line was the error I receieved for all of the utilities like csvstat, and csvsql. My change: for i, row in enumerate(rows): --> j = 0 for j, d in enumerate(row):
Thank you,
Doug