MCPcopy Index your code
hub / github.com/pydata/xarray / _flox_reduce

Method _flox_reduce

xarray/core/resample.py:52–63  ·  view source on GitHub ↗
(
        self,
        dim: Dims,
        keep_attrs: bool | None = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

50 super().__init__(*args, **kwargs)
51
52 def _flox_reduce(
53 self,
54 dim: Dims,
55 keep_attrs: bool | None = None,
56 **kwargs,
57 ) -> T_Xarray:
58 result: T_Xarray = (
59 super()
60 ._flox_reduce(dim=dim, keep_attrs=keep_attrs, **kwargs)
61 .rename({RESAMPLE_DIM: self._group_dim}) # type: ignore[assignment]
62 )
63 return result
64
65 def shuffle_to_chunks(self, chunks: T_Chunks = None):
66 """

Callers

nothing calls this directly

Calls 1

renameMethod · 0.45

Tested by

no test coverage detected