anndata.experimental.backed.CategoricalArray#

class anndata.experimental.backed.CategoricalArray[K: (Dataset, Array)](codes, categories, base_path_or_zarr_group, elem_name, *args, ordered, **kwargs)[source]#

Bases: BackendArray

A wrapper class meant to enable working with lazy categorical data. We do not guarantee the stability of this API beyond that guaranteed by xarray.backends.BackendArray.

Attributes

categories#
dtype#
shape: tuple[int, ...]#
base_path_or_zarr_group: Path | Group#
elem_name: str#