anndata.abc.CSRDataset.to_memory

anndata.abc.CSRDataset.to_memory#

abstractmethod CSRDataset.to_memory()[source]#

Load the sparse dataset into memory.

Return type:

csr_matrix | csc_matrix | csr_array | csc_array

Returns:

The in-memory representation of the sparse dataset.