xarray.Dataset.__getitem__#

Dataset.__getitem__(key)[source]#

Access variables or coordinates of this dataset as a DataArray or a subset of variables or a indexed dataset.

Indexing with a list of names will return a new Dataset object.