MCPcopy Create free account
hub / github.com/pydata/xarray / reduce

Method reduce

xarray/core/_aggregations.py:6794–6804  ·  view source on GitHub ↗
(
        self,
        func: Callable[..., Any],
        dim: Dims = None,
        *,
        axis: int | Sequence[int] | None = None,
        keep_attrs: bool | None = None,
        keepdims: bool = False,
        **kwargs: Any,
    )

Source from the content-addressed store, hash-verified

6792 _obj: DataArray
6793
6794 def reduce(
6795 self,
6796 func: Callable[..., Any],
6797 dim: Dims = None,
6798 *,
6799 axis: int | Sequence[int] | None = None,
6800 keep_attrs: bool | None = None,
6801 keepdims: bool = False,
6802 **kwargs: Any,
6803 ) -> DataArray:
6804 raise NotImplementedError()
6805
6806 def _flox_reduce(
6807 self,

Callers 13

countMethod · 0.95
allMethod · 0.95
anyMethod · 0.95
maxMethod · 0.95
minMethod · 0.95
meanMethod · 0.95
prodMethod · 0.95
sumMethod · 0.95
stdMethod · 0.95
varMethod · 0.95
medianMethod · 0.95
cumsumMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected