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