pyam icon indicating copy to clipboard operation
pyam copied to clipboard

Add relative difference to pyam.compare

Open phackstock opened this issue 2 years ago • 0 comments

As part of the region-processing done by nomenclature there can be the comparison between model native and aggregated results. This comparison is done using pyam.compare. The output of this function is a pandas.DataFrame which contains two columns with the different results for the two pyam.IamDataFrame objects that are compared. What would be convenient, is to add a third column which contains the relative difference. This way it can be sorted so that differences can be inspected in order.

phackstock avatar Apr 20 '22 14:04 phackstock