anndata.abc.CSCDataset.to_memory

anndata.abc.CSCDataset.to_memory#

abstract CSCDataset.to_memory()[source]#

Load the sparse dataset into memory.

Return type:

csr_matrix | csc_matrix | sparray

Returns:

The in-memory representation of the sparse dataset.