anndata.WriteCompat#

class anndata.WriteCompat(*values)[source]#

Bases: Enum

Which anndata version’s write behavior to target.

Each member is the oldest anndata version whose I/O behavior we promise to be compatible with, i.e. encodings it cannot read are disallowed. See Write compatibility profiles for the whole table.

Attributes

property features: WriteFeatures[source]#

The features this profile enables.

V0_13 = '0.13'[source]#

anndata 0.13 (2026-07-07).

V0_14 = '0.14'[source]#

anndata 0.14 (unreleased).

Enables

  • the accessor encoding for anndata.acc accessors.

  • storing mapping keys and dataframe column names in an array, so any string works as one, e.g. a/b, a:b, or NUL.

DEFAULT = '0.13'[source]#

Alias for the profile write functions use by default, currently V0_13.