I have a csv file (data.csv) like this:
A,B,C,D,E
1.50,2.70,"2,481","1,569",2.15
2020-1-1,2020-1-2,2020-1-3,2020-1-4,2020-1-5
John, Jeff, Ruben, Cath, James
I tried to use df=pd.read_csv("data.csv", thousands=',') I got df=
A B C D E
0 1.5 2.7 2,481 1,569 2.15
1 2020-1-1 2020-1-2 2020-1-3 2020-1-4 2020-1-5
2 John Jeff Ruben Cath James
Looks OK but actually all numbers and dates are strings in df, while Excel can read/convert them correctly.
How can we read numbers, dates and strings from a csv file correctly?