Here is the content of a csv file 'test.csv', i am trying to read it via pandas read_csv()
"col1", "col2", "col3", "col4"
"v1", "v2", "v3", "v4"
"v21", "v22", "v23", "this, "creating, what to do? " problems"
This is the command i am using -
messages = pd.read_csv('test.csv', sep=',', skipinitialspace=True)
But i am getting the following error -
CParserError: Error tokenizing data. C error: Expected 4 fields in line 3, saw 5
i want the content for column4 in line3 to be 'this, "creating, what to do? " problems'
How to read file when a column can have quotechar and delimiter included in it ?