Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ time_take
Method
time_take
asv_bench/benchmarks/sparse.py:189–190 ·
view source on GitHub ↗
(self, indices, allow_fill)
Source
from the content-addressed store, hash-verified
187
self.sp_arr = SparseArray(arr, fill_value=fill_value)
188
189
def
time_take(self, indices, allow_fill):
190
self.sp_arr.take(indices, allow_fill=allow_fill)
191
192
193
class
GetItem:
Callers
nothing calls this directly
Calls
1
take
Method · 0.45
Tested by
no test coverage detected