xarray.DataArray.thin

DataArray.thin(indexers=None, **indexers_kwargs)

Return a new DataArray whose data is given by each n value along the specified dimension(s). Default n = 5