Skip to content

Commit

Permalink
return NotImplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Oct 15, 2024
1 parent 2814801 commit 9e2dfad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1499,8 +1499,7 @@ def _binary_op(self, other, f, reflexive=False, join=None) -> DataTree:
from xarray.core.groupby import GroupBy

if isinstance(other, GroupBy):
# TODO should we be trying to make this work?
raise NotImplementedError
return NotImplemented

ds_binop = functools.partial(
Dataset._binary_op,
Expand Down

0 comments on commit 9e2dfad

Please sign in to comment.