anndata.experimental.backed.CategoricalArray#

class anndata.experimental.backed.CategoricalArray(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[source]#
dtype[source]#
shape: tuple[int, ...][source]#
base_path_or_zarr_group: Path | Group[source]#
elem_name: str[source]#