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

Method _replace

xarray/core/indexes.py:690–695  ·  view source on GitHub ↗
(self, index, dim=None, coord_dtype=None)

Source from the content-addressed store, hash-verified

688 self.coord_dtype = coord_dtype
689
690 def _replace(self, index, dim=None, coord_dtype=None):
691 if dim is None:
692 dim = self.dim
693 if coord_dtype is None:
694 coord_dtype = self.coord_dtype
695 return type(self)(index, dim, coord_dtype, fastpath=True)
696
697 @classmethod
698 def from_variables(

Callers 5

iselMethod · 0.95
rollMethod · 0.95
renameMethod · 0.95
_copyMethod · 0.95
__getitem__Method · 0.95

Calls 1

typeFunction · 0.85

Tested by

no test coverage detected