NVIDIA / NVIDIA/cudf

[FEA] Implement MultiIndex.set_codes

Open
#12,308 0 comments 0 reactions 0 assignees View on GitHub
cudf.pandas feature request Python
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_codes` method that is currently not possible with cudf.MultiIndex.

**Describe the solution you'd like**
We should Implement `cudf.MultiIndex.set_codes`

**Describe alternatives you've considered**
None

**Additional context**
The `codes` parameter to `pandas.MultiIndex.copy` is deprecated, and `set_codes` 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_codes` when this method is implemented

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.