Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ __copy__
Method
__copy__
xarray/core/indexes.py:468–469 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
466
return
self._copy(deep=deep)
467
468
def
__copy__(self) -> Self:
469
return
self.copy(deep=False)
470
471
def
__deepcopy__(self, memo: dict[int, Any] | None = None) -> Index:
472
return
self._copy(deep=True, memo=memo)
Callers
nothing calls this directly
Calls
1
copy
Method · 0.95
Tested by
no test coverage detected