numpy.ndarray.__array_wrap__

method

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

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