numpy.ndarray.__array_wrap__

method

ndarray.__array_wrap__(array, [context, ]/)

Returns a view of array with the same type as self.

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