SciPy

scipy.sparse.bsr_matrix.prune

bsr_matrix.prune()[source]

Remove empty space after all non-zero elements.

Previous topic

scipy.sparse.bsr_matrix.power

Next topic

scipy.sparse.bsr_matrix.rad2deg