modify exact dat to fetch from an api in pandas code example Example: data series to datetime pd.to_datetime(your_series)