Skip to content

Commit be33560

Browse files
committed
one more reduce
1 parent 3d854e5 commit be33560

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xarray/core/common.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def _reduce_method(cls, func: Callable, include_skipna: bool, numeric_only: bool
6060
if include_skipna:
6161

6262
def wrapped_func(self, dim=None, axis=None, skipna=None, **kwargs):
63-
return self.reduce(func, dim, axis, skipna=skipna, **kwargs)
63+
return self.reduce(
64+
func=func, dim=dim, axis=axis, skipna=skipna, **kwargs
65+
)
6466

6567
else:
6668

0 commit comments

Comments
 (0)