# xarray.DataArray.persist

`DataArray.``persist`(**kwargs) → xarray.core.dataarray.DataArray

  Trigger computation in constituent dask arrays

  This keeps them as dask arrays but encourages them to keep data in memory. This is particularly useful when on a distributed machine. When on a single machine consider using `.compute()` instead.

  Parameters: | **kwargs (dict) – Additional keyword arguments passed on to `dask.persist`.

  See also

  `dask.persist()`