Input/Output: io

Contents

Input/Output: io#

The io module contains functions to read and save data.

Objects#

io.read_h5ad(path[, filename])

Read .h5ad-formatted hdf5 file.

io.read_visium(path[, counts_file, ...])

Read SpaceRanger output into AnnData Object.

io.read_zarr(path[, filename, backend])

Read from a hierarchical Zarr array store into an AnnData Object.

io.read_rds(path_rds, path_h5ad[, batch_key])

Read Rds object with Seurat or SingleCellExperiment Object.

io.save_rds(path_rds[, batch_key, adata, ...])

Save AnnData as Seurat or SingleCellExperiment Object.

io.read_10x_mtx(path, **kwargs)

Read 10x-Genomics-formatted mtx directory.

io.read_10x_h5(path[, filename])

Read 10x-Genomics-formatted hdf5 file.

io.read_mtx(path[, filename])

Read .mtx file.

DataFrames#

io.read_excel(path[, filename, sheet_name, ...])

Read Excel Sheet into a DataFrame.

io.read_csv(path[, filename, delimiter, backend])

Read comma separated files into a DataFrame.

io.read_parquet(path[, filename, backend])

Read a parquet object into a DataFrame.