anndata
anndata copied to clipboard
Annotated data.
Initial draft of backed sparse array support for zarr. - [ ] I intend to export `sparse_dataset`, `CSRDataset`, and `CSCDataset` class from `experimental`. - [ ] Get tests passing -...
It would be nice to have metadata per element in the anndata object. That is, `X` and each layer could have metadata attached. * All of our on disk formats...
Fixes #756 Performance is suprisingly low. It seems that the type-unstable pandas operation can be quite inefficient. This will provide speedups for mid size datasets with real cell type names,...
Discovered while trying to answer [this discourse question](https://discourse.scverse.org/t/concat-anndata-objects-on-disk/400/2) about concatenating backed `AnnData` objects. Ping @Koncopd ## Example: ```python from pathlib import Path from shutil import rmtree import anndata as ad,...
Hi AnnData team, It seems I am unable to write to h5ad without having `strings_to_categoricals` be called. https://github.com/theislab/anndata/blob/dad9a085afdfb8d23b30cbbbe890acffdae4d621/anndata/_io/h5ad.py#L85 I am using the output h5ad file in Java, not with scanPy,...
With pandas data frames a pattern I use very commonly is ```python df_with_very_long_descriptive_name.loc[lambda x: x["fruit"] == "banana", :] ``` I was wondering if it would be possible to have lambda-based...
When concatenating categoricals whose categories don't match, pandas converts the columns to strings. We should try to avoid this because it's (a) weird and (b) inefficient. A quick proof of...
Version: 0.8.0rc1 Example: ```python >>> import anndata as ad >>> a = ad.AnnData(shape=(10, 20)) >>> a AnnData object with n_obs × n_vars = 10 × 20 >>> a.write("1.h5ad") >>> b...
When adding a whole obs to adata that already has obs_names the index matching is not checked. I would expect adata to complain if newly assigned obs has different index...
This adds error messages based on what wasn’t found. There’s 3-4 levels of detail (3 for writing, 4 for reading) 1. Nothing registered for source type (write) / destination type...