numpy / 1.21.4 / reference / generated / numpy.ndarray.__array_wrap__.html /

numpy.ndarray.__array_wrap__

method

ndarray. __array_wrap__ ( obj ) → Object of same type as ndarray object a.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.ndarray.__array_wrap__.html