DEPR: Deprecate inplace param in MultiIndex.set_codes and MultiIndex.set_levels by topper-123 · Pull Request #35626 · pandas-dev/pandas (original) (raw)
Deprecates inplace
parameter in MultiIndex.set_codes
and MultiIndex.set_levels
.
Allowing inplace ops in indexes makes them more complicated wtr. caching etc. After inplace
is removed, MultiIndex
will be immutable, except the names
attribute, similarly to other index classes.