pyam icon indicating copy to clipboard operation
pyam copied to clipboard

Analysis & visualization of energy & climate scenarios

Results 95 pyam issues
Sort by recently updated
recently updated
newest added

Per a discussion by @l-welder and @coroa on Slack... # Description pyam currently uses `pyam.IamDataFrame()` to read data from an xlsx or csv file, which is different from specific top-level...

enhancement

Occurs [here](https://github.com/iiasa/message_data/actions/runs/8247073169/job/22554473807#step:14:68) when importing pyam, via ([among others](https://github.com/iiasa/message_data/actions/runs/8247073169/job/22554473807#step:11:39)) - pyam-iamc 2.1.0, - ixmp4 0.7.2 (the bug may be properly targeted there; I'm not sure), - pandera 0.18.3, and - dask...

Possible related to #815. #827 migrates from pandas-datareader to [wbdata](https://pypi.org/project/wbdata/) and implements some changes [needed for that](https://wbdata.readthedocs.io/en/stable/basic_functionality/).

It's been a little over a month since python 3.12 was officially released. Would be worth a short to see if it's out of the box compatible if that hasn't...

dependencies

The pyam package currently automatically sorts the `_data` series and `meta` dataframe by their index. This makes it easy for consistency, assert-frame-equal and some operations like interpolation. But it can...

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

bug

These are two small hotfixes I needed in the past months but never was able to push. I will keep this PR in draft form to remember to update it...

Per issue #806 by @gorkemgungormetu, there are several possible improvements to the `interpolate()` method if some but not all timeseries have values before and after `time` (to be interpolated). 1....

`require_data` is not a drop in replacement for `require_variable`. This leads to a regression in behaviour with no easy fix for users. See script below for demonstration. Script ```python import...

The method `aggregate_time()` still uses the "old" `data` dataframe attribute instead of the internal `_data` series. Refactoring could yield some performance improvements.