Hello, I need to access the year for each dates in a particular column in my csv file. I'm using the to_datetime() function as suggested in another thread. However, at first, even if my column is in date format in my csv, it seems that it is being read as an object, does anyone know why?
hmm the csv, I open it using excel and so it marks the data type as date but a csv doesn't really have a data type?