def test_setdiff3(): dt1 = dt.Frame([2, 5, 7, 2, 3, 6, 0]) dt2 = dt.Frame([3, 4, 2, 5]) dt3 = dt.Frame([0, 3, 2, 2, 2, 2, 2, 2, 0]) res = dt.setdiff(dt1, dt2, dt3) assert res.to_list() == [[6, 7]] frame_integrity_check(res)
def test_setdiff2(): dt1 = dt.Frame([2, 5, 7, 2, 3]) dt2 = dt.Frame([3, 4, 2, 5]) res = dt.setdiff(dt1, dt2) assert res.to_list() == [[7]] frame_integrity_check(res)