how to convert time as an object to pd_datetime code example Example: convert series to datetime pd.to_datetime(df['your_time_column'])