8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4448828 commit ee18248Copy full SHA for ee18248
xarray/core/alignment.py
@@ -552,12 +552,15 @@ def _reindex_one(
552
return new_obj
553
554
def reindex_all(self) -> None:
555
- self.results = tuple(
556
- self._reindex_one(obj, matching_indexes)
557
- for obj, matching_indexes in zip(
558
- self.objects, self.objects_matching_indexes
+ if self.join != "exact":
+ self.results = tuple(
+ self._reindex_one(obj, matching_indexes)
+ for obj, matching_indexes in zip(
559
+ self.objects, self.objects_matching_indexes
560
+ )
561
)
- )
562
+ else:
563
+ self.results = self.objects
564
565
def align(self) -> None:
566
if not self.indexes and len(self.objects) == 1:
0 commit comments