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

Method __setitem__

xarray/core/coordinates.py:615–616  ·  view source on GitHub ↗
(self, key: Hashable, value: Any)

Source from the content-addressed store, hash-verified

613 return self.merge(other).coords
614
615 def __setitem__(self, key: Hashable, value: Any) -> None:
616 self.update({key: value})
617
618 def update(self, other: Mapping[Any, Any]) -> None:
619 """Update this Coordinates variables with other coordinate variables."""

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected