anndata.experimental.read_elem

Contents

anndata.experimental.read_elem#

anndata.experimental.read_elem(elem)[source]#

Read an element from a store.

Assumes that the element is encoded using the anndata encoding. This function will determine the encoded type using the encoding metadata stored in elem’s attributes.

Parameters:
elem Union[Array, Dataset, Group, Group]

The stored element.

Return type:

Union[DataFrame, number, str, ndarray, MaskedArray, csr_matrix, csc_matrix, Array, Dataset, Array, ZappyArray, CSRDataset, CSCDataset, DaskArray, CupyArray, CupySparseMatrix, dict[str, RWAble], list[RWAble], AnnData, Categorical, ExtensionArray]