MCPcopy Create free account
hub / github.com/numpy/numpy / __setitem__

Method __setitem__

numpy/ma/mrecords.py:315–322  ·  view source on GitHub ↗

Sets the given record to value.

(self, indx, value)

Source from the content-addressed store, hash-verified

313 return obj
314
315 def __setitem__(self, indx, value):
316 """
317 Sets the given record to value.
318
319 """
320 ma.MaskedArray.__setitem__(self, indx, value)
321 if isinstance(indx, str):
322 self._mask[indx] = ma.getmaskarray(value)
323
324 def __str__(self):
325 """

Callers 1

__setattr__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected