This is a pre-release version (latest).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / ma / core / MaskedArray / __array_wrap__

function

numpy.ma.core:MaskedArray.__array_wrap__

source: build-install/usr/lib/python3.14/site-packages/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__