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

Method __array_prepare__

numpy/ma/core.py:6582–6583  ·  view source on GitHub ↗
(self, obj, context=None)

Source from the content-addressed store, hash-verified

6580 MaskedArray.__array_finalize__(self, obj)
6581
6582 def __array_prepare__(self, obj, context=None):
6583 return self.view(MaskedArray).__array_prepare__(obj, context)
6584
6585 def __array_wrap__(self, obj, context=None):
6586 return self.view(MaskedArray).__array_wrap__(obj, context)

Callers 1

apply_along_axisFunction · 0.45

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected