pyam
pyam copied to clipboard
`set_meta()` returns `None` instead of `self`
I was expecting set_meta()
to be chainable like our other operations, but it returns None
- should we have it return the self
instead?
Having set_meta()
chainable would imply that (in default mode) you create a full copy of a potentially very large object (the timeseries data) to make changes on a small object (the meta indicators dataframe). So this could be a big drag on performance without a clear usability improvement: looping over set_meta()
is pretty much identical to chaining the operation.