---
title: "anndata | pypx"
description: "Annotated data."
canonical_url: "https://pypx.app/packages/anndata"
meta:
  "og:description": "Annotated data."
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_anndata%2Cversion_0.13.4%2Csummary_Annotated%2Bdata.%2Clicense_BSD-3-Clause%2Cp_Ii9wYWNrYWdlcy9hbm5kYXRhIg%2Cs_j766i4gdRyLaHN5B.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "anndata 0.13.4"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_anndata%2Cversion_0.13.4%2Csummary_Annotated%2Bdata.%2Clicense_BSD-3-Clause%2Cp_Ii9wYWNrYWdlcy9hbm5kYXRhIg%2Cs_j766i4gdRyLaHN5B.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **anndata**

v0.13.4

Annotated data.

186 KB Python 3.12+ py3-none-anyBSD-3-Clause11 deps

[**Diff **](https://pypx.app/packages/anndata/diff)

`$ uv add anndata`

[![Tests](https://github.com/scverse/anndata/actions/workflows/test-cpu.yml/badge.svg)](https://github.com/scverse/anndata/actions) [![Conda](https://img.shields.io/conda/vn/conda-forge/anndata.svg)](https://anaconda.org/conda-forge/anndata) [![Coverage](https://codecov.io/gh/scverse/anndata/branch/main/graph/badge.svg?token=IN1mJN1Wi8)](https://codecov.io/gh/scverse/anndata) [![Docs](https://readthedocs.com/projects/icb-anndata/badge/?version=latest)](https://anndata.readthedocs.io) [![PyPI](https://img.shields.io/pypi/v/anndata.svg)](https://pypi.org/project/anndata) [![Downloads](https://static.pepy.tech/badge/anndata/month)](https://pepy.tech/project/anndata) [![Downloads](https://static.pepy.tech/badge/anndata)](https://pepy.tech/project/anndata) [![Stars](https://img.shields.io/github/stars/scverse/anndata?style=flat&logo=github&color=yellow)](https://github.com/scverse/anndata/stargazers) [![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org)

# anndata - Annotated data

anndata is a Python package for handling annotated data matrices in memory and on disk, positioned between pandas and xarray. anndata offers a broad range of computationally efficient features including, among others, sparse data support, and lazy operations. A separate data loader package, [annbatch](https://annbatch.readthedocs.io/en/stable/), offers minibatch data loading functionality for applications ranging from linear models to foundation models, scaling all the way up from small in-memory matrices to terabyte-scale disk-backed anndata datasets.

- Discuss development on [GitHub](https://github.com/scverse/anndata).
- Read the [documentation](https://anndata.readthedocs.io).
- Ask questions on the [scverse Discourse](https://discourse.scverse.org).
- Install via `pip install anndata` or `conda install anndata -c conda-forge`.
- See [Scanpy's documentation](https://scanpy.readthedocs.io/) for usage related to single cell data. anndata was initially built for Scanpy.

anndata is part of the scverse® project ([website](https://scverse.org), [governance](https://scverse.org/about/roles)) and is fiscally sponsored by [NumFOCUS](https://numfocus.org/). If you like scverse® and want to support our mission, please consider making a tax-deductible [donation](https://numfocus.org/donate-to-scverse) to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

## Public API

Our public API is documented in the [API section](https://anndata.readthedocs.io/en/stable/api.html) of these docs. We cannot guarantee the stability of our internal APIs, whether it's the location of a function, its arguments, or something else. In other words, we do not officially support (or encourage users to do) something like `from anndata._core import AnnData` as `_core` is both not documented and contains a [leading underscore](https://peps.python.org/pep-0008/#public-and-internal-interfaces). However, we are aware that [many users do use these internal APIs](https://github.com/search?q=%22anndata._io%22&type=code) and thus encourage them to [open an issue](https://github.com/scverse/anndata/issues/new/choose) or migrate to the public API. That is, if something is missing from our public API as documented, for example a feature you wish to be exported publicly, please open an issue.

## Citation

If you use `anndata` in your work, please cite the `anndata` publication as follows:

> **anndata: Annotated data**
>
> Isaac Virshup, Sergei Rybakov, Fabian J. Theis, Philipp Angerer, F. Alexander Wolf
>
> *JOSS* 2024 Sep 16. doi: [10.21105/joss.04371](https://doi.org/10.21105/joss.04371).

You can cite the scverse publication as follows:

> **The scverse project provides a computational ecosystem for single-cell omics data analysis**
>
> Isaac Virshup, Danila Bredikhin, Lukas Heumos, Giovanni Palla, Gregor Sturm, Adam Gayoso, Ilia Kats, Mikaela Koutrouli, Scverse Community, Bonnie Berger, Dana Pe’er, Aviv Regev, Sarah A. Teichmann, Francesca Finotello, F. Alexander Wolf, Nir Yosef, Oliver Stegle & Fabian J. Theis
>
> *Nat Biotechnol.* 2023 Apr 10. doi: [10.1038/s41587-023-01733-8](https://doi.org/10.1038/s41587-023-01733-8).

## **Details **

<dl>

<dt>Version</dt>
<dd>0.13.4</dd>

<dt>License</dt>
<dd>BSD-3-Clause</dd>

<dt>Python</dt>
<dd>&gt;=3.12</dd>

<dt>Maintainer</dt>
<dd>Philipp Angerer, Alex Wolf, Isaac Virshup, Sergei Rybakov, Ilan Gold</dd></dl>

## **Links**

- [Documentation](https://anndata.readthedocs.io/)
- [Home-page](https://github.com/scverse/anndata)
- [Source](https://github.com/scverse/anndata)
- [View on PyPI](https://pypi.org/project/anndata/)

## **Release Cadence **

**21**

releases in the past year

avg 26 days between releases

## **Maintainers **

- Philipp Angerer
- Alex Wolf
- Isaac Virshup
- Sergei Rybakov
- Ilan Gold

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/anndata#webpage","@type":"WebPage","description":"Annotated data.","name":"anndata","url":"https://pypx.app/packages/anndata","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/anndata"]}]},{"@id":"https://pypx.app/packages/anndata#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Annotated data.","license":"BSD-3-Clause","name":"anndata","softwareVersion":"0.13.4"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
