From 0660dcd66a8050331b9e85adc47acca61e2af266 Mon Sep 17 00:00:00 2001 From: Patrick Westphal Date: Wed, 31 Jul 2024 17:31:00 +0200 Subject: [PATCH] Add forgotten columncomparator file --- util/columncomparator.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 util/columncomparator.py diff --git a/util/columncomparator.py b/util/columncomparator.py new file mode 100644 index 0000000..32b6770 --- /dev/null +++ b/util/columncomparator.py @@ -0,0 +1,11 @@ +from typing import List + +from semanticlabeling.labeledcolumn import LabeledColumn + + +class UncomparableException(Exception): + """Thrown when two labeled columns of uncomparable type are being compared""" + + +def get_closest(compare_column: LabeledColumn, other_columns: List[LabeledColumn]) -> LabeledColumn: + raise NotImplementedError()