Hi I have following data stored in csv
Item Name 2020-12-08 00:00:00 2020-13-08 00:00:00 2020-14-08 00:00:00
Item1 43 33 11
Item2 44 33 24
Item3 32 78 89
So when I import csv the column index is stored as str. But I want it in datetime object.
When I used pd.to_datetime(temppppp.columns), it is returning me Timestamp. I need datetime object here.
Any way to solve this? Or should I store in excel which preserves data-type but takes lot more disk-space and time to execute