[FEA] Implement MultiIndex.set_levels
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
**Is your feature request related to a problem? Please describe.**
`pandas.MultiIndex` supports a `set_levels` method that is currently not possible with cudf.MultiIndex.
**Describe the solution you'd like**
We should Implement `cudf.MultiIndex.set_levels`
**Describe alternatives you've considered**
None
**Additional context**
The `levels` parameter to `pandas.MultiIndex.copy` is deprecated, and `set_levels` is the recommended replacement, so we need to have this method in place to support the eventual removal of this deprecated code path. We should update the warning in `MultiIndex.copy` to recommend the usage of `set_levels` when this method is implemented
Contributor guide
Assessment
This issue has not been assessed yet.