xarray.DataArray.head

DataArray.head(indexers=None, **indexers_kwargs)[source]

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