how to change series to datetime object python code example Example: convert series to datetime pd.to_datetime(df['your_time_column'])