You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed a bug in the index level updating, see below. Set remove_unused_levels=False to turn off this behaviour.
Changelog
🐛 Bug Fixes
Fixed up [pandas_openscm.index_manipulation.update_levels][].
It now drops unused levels by default first, to avoid applying the updates to values that aren't being used.
The same fixes are propagated to [pandas_openscm.accessors.DataFramePandasOpenSCMAccessor.update_index_levels][] and [pandas_openscm.index_manipulation.update_index_levels_func][]. (#14)