I am processing some data stored in a CSV file with python. There was a line like this:
title, tags, views, like
"Hello, world!" in python, ['beginner', 'tutorial'], '550', '540'
As you can see, there are many commas in the data which can break the CSV file. So, I enclosed all the elements with double quotations. But, there are already double quotations in the title. So, if I use a double quotation again, it just breaks the CSV file. Which look like this:
"Hello | World!" in python | ['beginner', 'tutorial'] | 550 | 540
(Added " | " to make things clear)
And I want it to look like this:
"Hello, world!" in python | ['beginner', 'tutorial'] | 550 | 540
How can I fix this?