def dm (listoflists,criterion):
    function = 'filter(lambda x: '+criterion+',listoflists)'
    lines = eval(function)
    return lines
Returns rows from the passed list of lists that meet the criteria in
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/statlib/pstat.py/dm