anndata.abc.CSCDataset

Contents

anndata.abc.CSCDataset#

class anndata.abc.CSCDataset[source]#

On disk CSC 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.