turning data from different dates to time series pandas code example Example: data series to datetime pd.to_datetime(your_series)