for row in c:
c1.append(row[0:13])
for row in c1:
row.append(float(row[13])/100)
row.append(float(row[12])/float(row[13])/100)
row.append(math.log10(float(row[12])))
c
contains a csv file with many rows and columns
c1
is a subset of c
containing only the first 14 elements
i am getting IndexError: list index out of range
on row.append(float(row[13])/100)
does anyone know what i am doing wrong?