I have searched some methods how to read csv files where values contain comma , but I have not ever seen how to read it only by pandas successfully.
For example, the csv file contains "A", "B", "C", "D", "E", "F" columns where only "C" column values contain comma.
The type of C column values is string
I have tried this:
pd.read_csv('my.csv',quotechar="'")
but it returns
CParserError: Error tokenizing data. C error: Expected 6 fields in line 1553, saw 7
Update:
Some values in C column started with comma like ",hello" while some commas among the values like "hello,hello,hello"
How can I set the parameters quotechar
to solve my problems ?