def test_good(self, frame): filtered = t.select(frame, ['name']) assert frame[['name']].to_dict(outtype='rows') == filtered.to_dict(outtype='rows')
def test_nolist(self, frame): with pytest.raises(ValueError): t.select(frame, '')