anndata.experimental.read_dispatched#
- anndata.experimental.read_dispatched(elem, callback)[source]#
Read elem, calling the callback at each sub-element.
- Parameters:
- elem
Array
|Dataset
|Group
|Group
Storage container (e.g.
h5py.Group
,zarr.Group
). This must have anndata element specifications.- callback
ReadCallback
Function to call at each anndata encoded element.
- elem
- Return type:
DataFrame
|number
|str
|ndarray
|MaskedArray
|csr_matrix
|csc_matrix
|sparray
|Array
|Dataset
|Array
|ZappyArray
|CSRDataset
|CSCDataset
|DaskArray
|CupyArray
|CupySparseMatrix
|dict
[str
,AxisStorable
] |list
[AxisStorable
] |AnnData
|Categorical
|ExtensionArray
See also