csc_matrix.
eliminate_zeros
Remove zero entries from the matrix
This is an in place operation
Enter search terms or a module, class or function name.