Skip to content

Commit

Permalink
one more reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Nov 20, 2021
1 parent 3d854e5 commit be33560
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xarray/core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def _reduce_method(cls, func: Callable, include_skipna: bool, numeric_only: bool
if include_skipna:

def wrapped_func(self, dim=None, axis=None, skipna=None, **kwargs):
return self.reduce(func, dim, axis, skipna=skipna, **kwargs)
return self.reduce(
func=func, dim=dim, axis=axis, skipna=skipna, **kwargs
)

else:

Expand Down

0 comments on commit be33560

Please sign in to comment.