MCPcopy Index your code
hub / github.com/pydata/xarray / __array_wrap__

Method __array_wrap__

xarray/core/dataarray.py:4876–4878  ·  view source on GitHub ↗
(self, obj, context=None, return_scalar=False)

Source from the content-addressed store, hash-verified

4874 return False
4875
4876 def __array_wrap__(self, obj, context=None, return_scalar=False) -> Self:
4877 new_var = self.variable.__array_wrap__(obj, context, return_scalar)
4878 return self._replace(new_var)
4879
4880 def __matmul__(self, obj: T_Xarray) -> T_Xarray:
4881 return self.dot(obj)

Callers 1

_unary_opMethod · 0.95

Calls 1

_replaceMethod · 0.95

Tested by

no test coverage detected