SciPy
bsr_matrix.prune
Remove empty space after all non-zero elements.
previous
scipy.sparse.bsr_matrix.power
next
scipy.sparse.bsr_matrix.rad2deg