Closed gokturksm closed 4 years ago
https://github.com/IESD/cegads-domestic-model/blob/2347dc7a8356f58162e158c491b86a5f4039ee5e/cegads/appliances/model.py#L74
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Index.to_datetime.html
dates = pd.to_datetime(pd.Index(dates, name=name)) would fix it for now, at least for newer Pandas versions.
dates = pd.to_datetime(pd.Index(dates, name=name))
https://github.com/IESD/cegads-domestic-model/blob/2347dc7a8356f58162e158c491b86a5f4039ee5e/cegads/appliances/model.py#L74
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Index.to_datetime.html
dates = pd.to_datetime(pd.Index(dates, name=name))
would fix it for now, at least for newer Pandas versions.