xarray.IndexVariable.coarsen

IndexVariable.coarsen(windows, func, boundary='exact', side='left', keep_attrs=None, **kwargs)

Apply reduction function.