anndata.io.read_elem#
- anndata.io.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:
- Return type:
DataFrame|number|str|ndarray|MaskedArray|csr_matrix|csc_matrix|csr_array|csc_array|Dataset|Array|ZappyArray|CSRDataset|CSCDataset|Array|ndarray|spmatrix|Array|DataArray|dict[str,AxisStorable] |list[AxisStorable] |AnnData|Categorical|ExtensionArray