(
self, coords: dict[Hashable, Variable], indexes: dict[Hashable, Index]
)
| 1117 | return self._data._getitem_coord(key) |
| 1118 | |
| 1119 | def _update_coords( |
| 1120 | self, coords: dict[Hashable, Variable], indexes: dict[Hashable, Index] |
| 1121 | ) -> None: |
| 1122 | validate_dataarray_coords( |
| 1123 | self._data.shape, Coordinates._construct_direct(coords, indexes), self.dims |
| 1124 | ) |
| 1125 | |
| 1126 | self._data._coords = coords |
| 1127 | self._data._indexes = indexes |
| 1128 | |
| 1129 | def _drop_coords(self, coord_names): |
| 1130 | # should drop indexed coordinates only |
nothing calls this directly
no test coverage detected