# xarray.Dataset.load

#### Dataset.load(\*\*kwargs)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/dataset.py#L561-L609)

Trigger loading data into memory and return this dataset.

Data will be computed and/or loaded from disk or a remote source.

Unlike `.compute`, the original dataset is modified in-place and returned.

Normally, it should not be necessary to call this method in user code,
because all xarray functions should either work on deferred data or
load data automatically. However, this method can be necessary when
working with many file objects on disk.

* **Parameters:**
  **\*\*kwargs** ([`dict`](https://docs.python.org/3/builtins/stdtypes.html#dict)) – Additional keyword arguments passed on to `dask.compute`.
* **Returns:**
  **object** ([`Dataset`](xarray.Dataset.html.md#xarray.Dataset)) – Same object but with lazy data variables and coordinates as in-memory arrays.

#### SEE ALSO
[`dask.compute`](https://docs.dask.org/en/latest/api.html#dask.compute), [`Dataset.compute`](xarray.Dataset.compute.html.md#xarray.Dataset.compute), [`Dataset.load_async`](xarray.Dataset.load_async.html.md#xarray.Dataset.load_async), [`DataArray.load`](xarray.DataArray.load.html.md#xarray.DataArray.load), [`Variable.load`](xarray.Variable.load.html.md#xarray.Variable.load)
