i have that error:
python3 convert.py plant.csv > data.js Traceback (most recent call last): File "convert.py", line 14, in <module> data[line[0]] = list(line[i] for i in [1,2,19,18,21,20,25,24,27,26]) File "convert.py", line 14, in <genexpr> data[line[0]] = list(line[i] for i in [1,2,19,18,21,20,25,24,27,26]) IndexError: list index out of range
I have problem with convert database
i have that error:
python3 convert.py plant.csv > data.js Traceback (most recent call last): File "convert.py", line 14, in <module> data[line[0]] = list(line[i] for i in [1,2,19,18,21,20,25,24,27,26]) File "convert.py", line 14, in <genexpr> data[line[0]] = list(line[i] for i in [1,2,19,18,21,20,25,24,27,26]) IndexError: list index out of range
Database id from this place