Used by IndexVariable to return IndexVariable objects when possible.
(self, dims, data)
| 835 | return self._finalize_indexing_result(dims, data) |
| 836 | |
| 837 | def _finalize_indexing_result(self, dims, data) -> Self: |
| 838 | """Used by IndexVariable to return IndexVariable objects when possible.""" |
| 839 | return self._replace(dims=dims, data=data) |
| 840 | |
| 841 | def _getitem_with_mask(self, key, fill_value=dtypes.NA): |
| 842 | """Index this Variable with -1 remapped to fill_value.""" |
no test coverage detected