parameters: (self)
docstring: Remove zero entries from the matrix
  
          This is an *in place* operation
docstring_summary: Remove zero entries from the matrix
docstring_tokens: Remove zero entries from the matrix
function: def eliminate_zeros(self):
          """Remove zero entries from the matrix
  
          This is an *in place* operation
          """
          mask = self.data != 0
          self.data = self.data[mask]
          self.row = self.row[mask]
          self.col = self.col[mask]
function_tokens: def eliminate_zeros ( self ) : mask = self . data != 0 self . data = self . data [ mask ] self . row = self . row [ mask ] self . col = self . col [ mask ]