You are viewing an older version (2.4.3).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / ma / core / MaskedArray / __array_wrap__

function

numpy.ma.core:MaskedArray.__array_wrap__

source: /numpy/ma/core.py:3133

Signature

def __array_wrap__(self, obj, context = None, return_scalar = False)

Summary

Special hook for ufuncs.

Extended Summary

Wraps the numpy array and sets the mask according to context.

Aliases

  • numpy.ma.MaskedArray.__array_wrap__