visions.functional.detect_type
- visions.functional.detect_type(data, typeset)[source]
Detect the type in the base graph
- Parameters
data (
Sequence
) – the DataFrame to detect types ontypeset (
VisionsTypeset
) – the Typeset that provides the type context
- Return type
Union
[Dict
[str
,Type
[VisionsBaseType
]],Type
[VisionsBaseType
]]- Returns
A dictionary with a mapping from column name to type