visions.functional.compare_detect_inference_frame

visions.functional.compare_detect_inference_frame(data, typeset)[source]

Compare the types given by inference on the base graph and the relational graph

Parameters
  • data (Sequence) – the sequence to detect types on

  • typeset (VisionsTypeset) – the Typeset that provides the type context

Examples

>>> for column, type_before, type_after in compare_detect_inference_frame(data, typeset):
>>>    print(f"{column} was {type_before} is {type_after}")

See also

type_inference_report_frame:

Formatted report of the output of this function

Return type

List[Tuple[str, Type[VisionsBaseType], Type[VisionsBaseType]]]