SciPy

scipy.sparse.csr_matrix.tobsr

csr_matrix.tobsr(blocksize=None, copy=True)[source]