Answers for "changing dtype of multiple columns to_datetime"

0

changing dtype of multiple columns to_datetime

my_df[['column1','column2']] =     
my_df[['column1','column2']].apply(pd.to_datetime, format='%Y-%m-%d %H:%M:%S.%f')
Posted by: Guest on April-13-2022

Code answers related to "changing dtype of multiple columns to_datetime"

Python Answers by Framework

Browse Popular Code Answers by Language