Skip to content

Commit 9e2dfad

Browse files
committed
return NotImplemented
1 parent 2814801 commit 9e2dfad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xarray/core/datatree.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,8 +1499,7 @@ def _binary_op(self, other, f, reflexive=False, join=None) -> DataTree:
14991499
from xarray.core.groupby import GroupBy
15001500

15011501
if isinstance(other, GroupBy):
1502-
# TODO should we be trying to make this work?
1503-
raise NotImplementedError
1502+
return NotImplemented
15041503

15051504
ds_binop = functools.partial(
15061505
Dataset._binary_op,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy