We are working with a set of data that contains all kind of characters (comma, semi-colon, double quotation, tab, etc.). To handle this situation, we are using single quotation to surround the strings and we are able work with our data using data science libraries like pandas or to open it using tools like LibreOffice without any problem.
Here is some sample data (separated using tabs, so it's easier to see what the data looks like):
fname lname address age data code date
----------------------------------------------------------------------------
john doe 'Province1, City1' 22 '11,"dx",""' 380 '2022-Jan-24'
jane doe 'Province2, City2' 28 '"","dy","98"' 33 '2022-Feb-11'
And here is the csv
file:
fname,lname,address,age,data,code,date
john,doe,'Province1, City1',22,'11,"dx",""',380,'2022-Jan-24'
jane,doe,'Province2, City2',28,'"","dy","98"',33,'2022-Feb-11'
However, if we open the file using Excel, this is how it looks like:
It seems that Excel is using double quotation as its default string delimiter. Is there a way to change it to single quotation? Similar to what we can do in LibreOffice Calc?