Closed GregorBecker closed 2 years ago
Thank you @GregorBecker for your changes.
Did you check your changes with older pandas versions? We may have to adapt the minimal panda version.
@uvchik thanks for your response. I haven't done it yet, but may do it in the upcoming days, and let you know which Pandas version does not work anymore.
I checked the Pandas version, and no problems occurred until Pandas 1.0, since this is the minimum version defined in the demandlib setup.py, I stopped testing there. While checking the version I noticed some more deprecations, which I removed within the same move.
If using the new Pandas version (1.4.2), there are some futurewarnings, since in the future the parameters of the respective method calls have to be labeled. This was implemented in this PR.
Therefore the tools.py as well as blew/elec_slp.py and blew/heat_building.py have been modified.