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