The best way to filter a dictionary in Python,"d = dict((k, v) for k, v in d.items() if v > 0)"