0

I am reading from an excel file using a python script(pandas). This excel has few date columns, which needs to be moved to output csv file in the below date format - %m/%d/%Y %H:%M:%S.0.

Can you please tell me if I can set this format in the beginning of the python script so that by default all date columns are read in the given format and moved to output csv file.

%m/%d/%Y %H:%M:%S.0
MPasks
  • 3
  • 2
  • 1
    Does this answer your question? [How to change the datetime format in Pandas](https://stackoverflow.com/questions/38067704/how-to-change-the-datetime-format-in-pandas) – FObersteiner Nov 17 '22 at 08:56

0 Answers0