For use with binary arithmetic.
(self, other, reflexive, compat: CompatOptions | CombineKwargDefault)
| 509 | self._data.coords._drop_coords(coord_names) |
| 510 | |
| 511 | def _merge_raw(self, other, reflexive, compat: CompatOptions | CombineKwargDefault): |
| 512 | """For use with binary arithmetic.""" |
| 513 | if other is None: |
| 514 | variables = dict(self.variables) |
| 515 | indexes = dict(self.xindexes) |
| 516 | else: |
| 517 | coord_list = [self, other] if not reflexive else [other, self] |
| 518 | variables, indexes = merge_coordinates_without_align( |
| 519 | coord_list, compat=compat |
| 520 | ) |
| 521 | return variables, indexes |
| 522 | |
| 523 | @contextmanager |
| 524 | def _merge_inplace(self, other, compat: CompatOptions | CombineKwargDefault): |
no test coverage detected