anndata.abc.CSCDataset#
- class anndata.abc.CSCDataset[source]#
On disk CSC sparse matrix.
Analogous to
h5py.Dataset
orzarr.core.Array
, but for sparse matrices.Attributes
The format of the sparse matrix.
Shape of the matrix.
The
numpy.dtype
of thedata
attribute of the sparse matrix.Which file type is used on-disk.
Methods
__getitem__
(index)Load a slice or an element from the sparse dataset into memory.
Load the sparse dataset into memory.