SciPy

scipy.sparse.csc_matrix.prune

csc_matrix.prune()[source]

Remove empty space after all non-zero elements.

Previous topic

scipy.sparse.csc_matrix.power

Next topic

scipy.sparse.csc_matrix.rad2deg