rapidsai/cudf

`RangeIndex.to_numpy`: Restore caching and fix signature

已關閉

#21,347 建立於 2026年2月5日

 (3 則留言) (0 個反應) (0 位負責人)C++ (735 個分叉)batch import
Pythongood first issueimprovement

倉庫指標

星標
 (6,000 顆星)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 230 個 PR)

描述

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

貢獻者指南