# using pd.to_datetime convert the dtype of Date to ns,UTC. data.Date = pd.to_datetime(data.Date) data['Date'].dtypes