scipy.sparse.bsr_matrix.ndim

bsr_matrix.ndim = 2

Previous topic

scipy.sparse.bsr_matrix.shape

Next topic

scipy.sparse.bsr_matrix.nnz