Str To Float Error In Csv Python
I'm trying to open a csv file that is 10 columns x 100 rows and I first want to swap it to 100 columns x 10 rows, which I believe I used the zip function properly for, and then mak
Solution 1:
Apparently the end of each line of your file ends with a comma. This makes a '' (empty string) appear. And float('') gives you the ValueError.
Post a Comment for "Str To Float Error In Csv Python"