'Removes the matrix rows for which function(value) in the column is not True.'

def filter(self, function=(lambda value: True)):

    i = len(self)
    for v in reversed(self):
        i -= 1
        if (not function(v)):
            self._datasheet.pop(i)
