Set up a DataFrame index to be DateTime - Intellipaat
intellipaat.com › community › 20404Jul 31, 2019 · Set up a DataFrame index to be DateTime. I have a pd.DataFrame which has datetime64 type of index. I'd like to concatenate a pd.Series column to it and map it to the index. However, my pd.Series has an object type of dates, while my pd.DataFrame has a datetime64 type of dates. I tried converting the pd.Series index to datetime like so.