anndata.AnnData.varp

property AnnData.varp: Union[PairwiseArrays, PairwiseArraysView]

Pairwise annotation of variables/features, a mutable mapping with array-like values.

Stores for each key a two or higher-dimensional ndarray whose first two dimensions are of length n_var. Is sliced with data and var but behaves otherwise like a mapping.

Return type

PairwiseArrays | PairwiseArraysViewUnion[PairwiseArrays, PairwiseArraysView]