scipy.sparse.bsr_matrix.

scipy.sparse.bsr_matrix.ndim#

свойство bsr_matrix.ndim#