'Remove zero entries from the matrix
This is an *in place* operation'

def eliminate_zeros(self):

    (M, N) = self._swap(self.shape)
    _sparsetools.csr_eliminate_zeros(M, N, self.indptr, self.indices, self.data)
    self.prune()
