xarray.IndexVariable.coarsen

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

Apply reduction function.