(self)
return [i for i in flatten(self.tolist()) if not i.is_zero]
Return non-zero values of self.
Return non-zero values of self.
Return non - zero values of self .
def values(self):
        """Return non-zero values of self."""
        return [i for i in flatten(self.tolist()) if not i.is_zero]
def values ( self ) : return [ i for i in flatten ( self . tolist ( ) ) if not i . is_zero ]