SciPy

scipy.sparse.bsr_matrix.shape

property bsr_matrix.shape

Get shape of a matrix.