SciPy

scipy.sparse.csr_matrix.prune

csr_matrix.prune(self)[source]

Remove empty space after all non-zero elements.

Previous topic

scipy.sparse.csr_matrix.power

Next topic

scipy.sparse.csr_matrix.rad2deg