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
StorageType
The stored element.
- elem
- Return type:
Union
[ndarray
[Any
,dtype
[TypeVar
(_ScalarType_co
, bound=generic
, covariant=True)]],MaskedArray
,spmatrix
,sparray
,Dataset
,Array
,ZappyArray
,BaseCompressedSparseDataset
,DaskArray
,CupyArray
,CupySparseMatrix
,Array
,DataFrame
,number
,str
,dict
[str
,RWAble
],list
[RWAble
],AnnData
,Categorical
,ExtensionArray
]