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

Method __array_finalize__

numpy/core/tests/test_multiarray.py:6423–6424  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

6421 return result
6422
6423 def __array_finalize__(self, obj):
6424 self.info = getattr(obj, "info", '')
6425
6426 dat = TestArray([[1, 2, 3, 4], [5, 6, 7, 8]], 'jubba')
6427 res = dat.mean(1)

Callers 1

__array_finalize__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected