rapidsai/cudf

`RangeIndex.to_numpy`: Restore caching and fix signature

Chiusa

#21.347 aperta il 5 feb 2026

 (3 commenti) (0 reazioni) (0 assegnatari)C++ (735 fork)batch import
Pythongood first issueimprovement

Metriche repository

Star
 (6000 stelle)
Metriche merge PR
 (Merge medio 17g 21h) (230 PR mergiate in 30 g)

Descrizione

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

Guida contributor