Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ __getitem__
Method
__getitem__
numpy/lib/_user_array_impl.py:85–86 ·
view source on GitHub ↗
(self, index)
Source
from the content-addressed store, hash-verified
83
return
len(self.array)
84
85
def
__getitem__(self, index):
86
return
self._rc(self.array[index])
87
88
def
__setitem__(self, index, value):
89
self.array[index] = asarray(value, self.dtype)
Callers
nothing calls this directly
Calls
1
_rc
Method · 0.95
Tested by
no test coverage detected