You need to specify the csv file name when you run it or it will try to use the default filename from line 604.
That is why when you run it properly you get the ValueError on line 204
I guess you run it with different csv file from the one you posted here as sample. According to error traceback, you have
That is why when you run it properly you get the ValueError on line 204
Error:ValueError: invalid literal for int() with base 10: 'a'
Most likely your csv file is not in the format expected by the script. Note, it can be some very small difference, but it cause the error.I guess you run it with different csv file from the one you posted here as sample. According to error traceback, you have
a
in the first column and in expects number (int
). Check your file
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs