anndata.experimental.Read

anndata.experimental.Read#

protocol anndata.experimental.Read[source]#

typing.Protocol.

Classes that implement this protocol must have the following methods / attributes:

__call__(elem)[source]#

Low-level reading function for an element.

Parameters:
elem Array | Dataset | Group | Group

The element to read from.

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

Returns:

The element read from the store.

__type_params__ = (S, RWAble)[source]#