IAMconsortium / pyam

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

Renaming the "year" column changes years to float #752

Open danielhuppmann opened 1 year ago

danielhuppmann commented 1 year ago

Using df.rename(year={2005: 2010}) changes the year to 2005.0 instead of 2010.

danielhuppmann commented 4 months ago

Update: it seems that df.rename(year={2005: 2010}) does to have any effect (any more)...