Beispiel #1
0
def many_to_many_all_match_obj():
    data_path = (Path(__file__).resolve().parent / "juxta" / "tests" / "data" /
                 "no-mismatches" / "many-to-many")
    d1_path = data_path / "many_to_many-A1.csv"
    d2_path = d1_path
    comparer = Comparer(dataset1=d1_path, dataset2=d2_path)
    comparer.set_dataframes(parse_dates=["intake_dt", "exit_dt"])
    return comparer
Beispiel #2
0
def shuffled_one_to_one_unmatchable_obj():
    data_path = (Path(__file__).resolve().parent / "juxta" / "tests" / "data" /
                 "unmatchable" / "one-to-one")
    d1_path = data_path / "one_to_one-A1.csv"
    d2_path = data_path / "one_to_one-A2-shuffled.csv"
    comparer = Comparer(dataset1=d1_path, dataset2=d2_path)
    comparer.set_dataframes(parse_dates=["intake_dt", "exit_dt"])
    return comparer