SciPy

scipy.sparse.coo_matrix.eliminate_zeros

coo_matrix.eliminate_zeros(self)[source]

Remove zero entries from the matrix

This is an in place operation

Previous topic

scipy.sparse.coo_matrix.dot

Next topic

scipy.sparse.coo_matrix.expm1