anndata.AnnData.obsp

property AnnData.obsp: Union[PairwiseArrays, 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

PairwiseArrays | PairwiseArraysViewUnion[PairwiseArrays, PairwiseArraysView]