Method
reduce
(
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, |
Tested by
no test coverage detected