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

Method method

xarray/computation/rolling.py:177–189  ·  view source on GitHub ↗
(self, keep_attrs=None, **kwargs)

Source from the content-addressed store, hash-verified

175 numbagg_move_func = None
176
177 def method(self, keep_attrs=None, **kwargs):
178 keep_attrs = self._get_keep_attrs(keep_attrs)
179
180 return self._array_reduce(
181 array_agg_func=array_agg_func,
182 bottleneck_move_func=bottleneck_move_func,
183 numbagg_move_func=numbagg_move_func,
184 rolling_agg_func=rolling_agg_func,
185 keep_attrs=keep_attrs,
186 fillna=fillna,
187 sliding_window_view_kwargs=dict(automatic_rechunk=automatic_rechunk),
188 **kwargs,
189 )
190
191 method.__name__ = name
192 method.__doc__ = _ROLLING_REDUCE_DOCSTRING_TEMPLATE.format(name=name)

Callers

nothing calls this directly

Calls 2

_get_keep_attrsMethod · 0.95
_array_reduceMethod · 0.45

Tested by

no test coverage detected