Python reference

Converting

convert Convert a single-cell dataset to .h5ad, .h5seurat or .zarr.

Reading and writing

read Read any supported dataset into memory as an AnnData object.
write_h5seurat Write an AnnData object to H5Seurat (SeuratDisk layout).

Inspecting and streaming

inspect Describe a dataset without reading its matrix.
open_stream Iterate over the matrix X in chunks of chunk_size rows, or of
MatrixChunk A block of the matrix, as compressed numpy arrays: consecutive rows

Errors

PickleRickError Raised when the SCX engine cannot read, convert or write a dataset.