datetime time format to string in pandas code example Example: convert series to datetime pd.to_datetime(df['your_time_column'])