Dataset

Constructors

Dataset([data_vars, coords, attrs])

A multi-dimensional, in memory, array database.

Dataset.construct

alias of larch.dataset.construct._DatasetConstruct

Attributes

Dataset.dims

Mapping from dimension names to lengths.

Dataset.sizes

Mapping from dimension names to lengths.

Dataset.data_vars

Dictionary of DataArray objects corresponding to data variables

Dataset.coords

Dictionary of xarray.DataArray objects corresponding to coordinate variables

Dataset.attrs

Dictionary of global attributes on this dataset

Dataset.encoding

Dictionary of global encoding attributes on this dataset

Dataset.indexes

Mapping of pandas.Index objects used for label based indexing.

Dataset.chunks

Mapping from dimension names to block lengths for this dataset's data, or None if the underlying data is not a dask array.

Dataset.chunksizes

Mapping from dimension names to block lengths for this dataset's data, or None if the underlying data is not a dask array.

Dataset.nbytes

Methods

Dataset.set_dtypes()

Set the dtypes for the variables in this Dataset.