scipy.sparse
csc_matrix.
eliminate_zeros
Remove zero entries from the matrix
This is an in place operation
scipy.sparse.csc_matrix.dot
scipy.sparse.csc_matrix.expm1