visions.functional.infer_frame_type¶
-
visions.functional.
infer_frame_type
(df, typeset)[source]¶ Infer the current types of each column in the DataFrame given the typeset.
- Parameters
df (
DataFrame
) – the DataFrame to infer types ontypeset (
VisionsTypeset
) – the Typeset that provides the type context
- Return type
Dict
[str
,Type
[VisionsBaseType
]]- Returns
A dictionary with a mapping from column name to type