Closed gidden closed 3 years ago
If the exact same interpolate call is used twice, the underlying data layout is appended in both wide and long.
wide
long
Example code:
df.interpolate(2016) # works df.interpolate(2016) # bad data now
Image attached
Interesting, because we do have a test specifically for calling that function twice...
https://github.com/IAMconsortium/pyam/blob/063875bdb73f270d37b829c4c58ac7ec4e17ac53/tests/test_core.py#L710
@gidden could you make a PR with a test that fails with this specific issue?
If the exact same interpolate call is used twice, the underlying data layout is appended in both
wide
andlong
.Example code:
Image attached