anndata.AnnData.obsp

property AnnData.obsp

Pairwise annotation of observations, 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_obs. Is sliced with data and obs but behaves otherwise like a mapping.

Return type

Mapping, MappingUnion[Mapping, Mapping]