pandera.typing.xarray.Dataset

class pandera.typing.xarray.Dataset(data_vars=None, coords=None, attrs=None)[source]

Annotation-only generic for xarray.Dataset.

Attributes

attrs

Dictionary of global attributes on this dataset

chunks

Mapping from dimension names to block lengths for this dataset's data.

chunksizes

Mapping from dimension names to block lengths for this dataset's data.

coords

Mapping of DataArray objects corresponding to coordinate variables.

data_vars

Dictionary of DataArray objects corresponding to data variables

dims

Mapping from dimension names to lengths.

dtypes

Mapping from data variable names to dtypes.

encoding

Dictionary of global encoding attributes on this dataset

imag

The imaginary part of each data variable.

indexes

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

loc

Attribute for location based indexing.

nbytes

Total bytes consumed by the data arrays of all variables in this dataset.

real

The real part of each data variable.

sizes

Mapping from dimension names to lengths.

variables

Low level interface to Dataset contents as dict of Variable objects.

xindexes

Mapping of Index objects used for label based indexing.

Methods