Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ __copy__
Method
__copy__
xarray/namedarray/core.py:366–367 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
364
return
self._replace(data=ndata, attrs=attrs)
365
366
def
__copy__(self) -> Self:
367
return
self._copy(deep=False)
368
369
def
__deepcopy__(self, memo: dict[int, Any] | None = None) -> Self:
370
return
self._copy(deep=True, memo=memo)
Callers
nothing calls this directly
Calls
1
_copy
Method · 0.95
Tested by
no test coverage detected