anndata.abc.CSRDataset

Contents

anndata.abc.CSRDataset#

class anndata.abc.CSRDataset[source]#

On disk CSR sparse matrix.

Analogous to h5py.Dataset or zarr.Array, but for sparse matrices.

Attributes

format

The format of the sparse matrix.

Methods

__getitem__(index)

Load a slice or an element from the sparse dataset into memory.

to_memory()

Load the sparse dataset into memory.