rapidsai/cudf
`RangeIndex.to_numpy`: Restore caching and fix signature
Closed
#21,347 opened on Feb 5, 2026
Pythongood first issueimprovement
Repository metrics
- Stars
- (6,000 stars)
- PR merge metrics
- (Avg merge 17d 21h) (230 merged PRs in 30d)
Description
Currently, RangeIndex.to_numpy() is missing standard pandas arguments and lacks the caching mechanism previously provided by values_host. We should add caching back and make the signature compliant:
def to_numpy(self, dtype=None, copy=False, na_value=None)
- See #21346