IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
227 stars 118 forks source link

Fix future-warnings for pandas 2.1 #777

Closed danielhuppmann closed 1 year ago

danielhuppmann commented 1 year ago

Description of PR

Pandas v2.1 introduced marked several items for future deprecation, this PR makes the code-base future-proof.

codecov[bot] commented 1 year ago

Codecov Report

Merging #777 (c1a1e6d) into main (b16ae63) will decrease coverage by 0.1%. The diff coverage is 100.0%.

@@           Coverage Diff           @@
##            main    #777     +/-   ##
=======================================
- Coverage   94.7%   94.7%   -0.1%     
=======================================
  Files         62      62             
  Lines       5999    5997      -2     
=======================================
- Hits        5685    5683      -2     
  Misses       314     314             
Files Changed Coverage Δ
pyam/aggregation.py 99.1% <100.0%> (ø)
pyam/utils.py 91.6% <100.0%> (-0.1%) :arrow_down: