I am facing this error when running pandas on a csv: TypeError: cannot do slice indexing on Index with these indexers [0] of type int
similar codes worked such as data.lo