Re: pandas read_csv

2018-11-09 Thread Venkatesh Adiga
Sharan I had similar issue of reading different column sized csv file... Instead of using pandas I used csv reader which handles with no error... Regards Venkat On Fri, 9 Nov 2018, 8:28 pm Sharan Basappa, wrote: > are there any requirements about the format of the CSV file when using > read_csv

Re: pandas read_csv

2018-11-09 Thread Peter Otten
Sharan Basappa wrote: > are there any requirements about the format of the CSV file when using > read_csv from pandas? For example, is it necessary that the csv file has > to have same number of columns in every line etc. > ParserError: Error tokenizing data. C error: Expected 1 fields in line 8,

Re: pandas read_csv

2018-11-09 Thread Rob Gaddi
On 11/9/18 6:54 AM, Sharan Basappa wrote: are there any requirements about the format of the CSV file when using read_csv from pandas? For example, is it necessary that the csv file has to have same number of columns in every line etc. I am trying to load a csv file and I get the following err

pandas read_csv

2018-11-09 Thread Sharan Basappa
are there any requirements about the format of the CSV file when using read_csv from pandas? For example, is it necessary that the csv file has to have same number of columns in every line etc. I am trying to load a csv file and I get the following error. I really don't know what the issue is ..