You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/lib/python3.10/dist-packages/hydra_pywr-0.1-py3.10.egg/hydra_pywr/hydra_pywr_custom_module.py:61: FutureWarning: Resampling with a PeriodIndex is deprecated. Cast index to DatetimeIndex before resampling instead.
DataFrame = pd.DataFrame(np.array(self._data), index=index, columns=sc_index).resample('M').max()
The text was updated successfully, but these errors were encountered:
The warning in the example above originates from the hydra_pywr_custom_module that is written by the user-defined rules processing routine in exporter.py:208 - i.e. it is a rule added by a user to a particular network and not part of hydra-pywr. There don't seem to be any instances of pd.DataFrame.resample() being used in hydra-pywr proper.
THe error below has started to appear:
The text was updated successfully, but these errors were encountered: