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 TypeVar(S_contra, bound= Array | Dataset | Group | Group, contravariant=True)

The element to read from.

Return type:

TypeVar(RWAble_co, bound= DataFrame | number | str | ndarray | MaskedArray | csr_matrix | csc_matrix | csr_array | csc_array | Dataset | Array | ZappyArray | CSRDataset | CSCDataset | Array | ndarray | spmatrix | Array | dict[str, AxisStorable] | list[AxisStorable] | AnnData | Categorical | ExtensionArray, covariant=True)

Returns:

The element read from the store.