anndata.experimental.read_elem_as_dask

anndata.experimental.read_elem_as_dask#

anndata.experimental.read_elem_as_dask(elem, chunks=None)[source]#

Read an element from a store lazily.

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 Array | Dataset | Group | Group

The stored element.

chunks tuple[int, ...] | None (default: None)

length n, the same n as the size of the underlying array. Note that the minor axis dimension must match the shape for sparse.

optional

length n, the same n as the size of the underlying array. Note that the minor axis dimension must match the shape for sparse.

Return type:

DaskArray

Returns:

DaskArray