scipy.sparse.csr_matrix.prune

csr_matrix.prune()

Remove empty space after all non-zero elements.

Previous topic

scipy.sparse.csr_matrix.nonzero

Next topic

scipy.sparse.csr_matrix.reshape

This Page