[FEA] Implement RangeIndex coersion for Index-creating operations in cuDF classic
Open
feature request
Python
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
pandas 3 includes a class of performance improvements to return a `RangeIndex` from `Index[int]`-creating operations when possible e.g. `set_index(some integer column)`. The basic APIs/operations where this applies can be found in https://pandas.pydata.org/docs/dev/whatsnew/v3.0.0.html#performance-improvements.
pandas achieves this by introspecting the `Index` data to see if the values are representable by an equivalent `range`, so cuDF will need a similar routine to implement this feature.
Contributor guide
Assessment
This issue has not been assessed yet.