#NEWLINE# def eliminate_zeros( self ) : #NEWLINE# #INDENT# 'Remove zero entries from the matrix\n\n        This is an *in place* operation\n        ' #NEWLINE# ( M , N ) = self . _swap ( self . shape ) #NEWLINE# _sparsetools . csr_eliminate_zeros ( M , N , self . indptr , self . indices , self . data ) #NEWLINE# self . prune ( )