scanpy.Neighbors.distances

property Neighbors.distances: Optional[Union[numpy.ndarray, scipy.sparse.csr.csr_matrix]]

Distances between data points (sparse matrix).

Return type

ndarray | csr_matrix | NoneUnion[ndarray, csr_matrix, None]