anndata.AnnData.obsp

property AnnData.obsp: Union[anndata._core.aligned_mapping.PairwiseArrays, anndata._core.aligned_mapping.PairwiseArraysView]

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]