I have a csv file, is it possible to have usecols all columns except the last when using read_csv without specifying each column.
For example, if I have a file with 13 columns, I can do usecols=[0,1,...,10,11] . Doing usecols=[:-1] give me a syntax error?
Is there any other alternative? I am using pandas 0.17
source share