visions.functional.cast_to_detected¶
-
visions.functional.
cast_to_detected
(data, typeset)[source]¶ Casts a DataFrame into a typeset by first performing column wise type inference against a provided typeset
- Parameters
df – the DataFrame to cast
typeset (
VisionsTypeset
) – the Typeset in which we cast
- Return type
DataFrame
- Returns
A tuple of the casted DataFrame and the types to which the columns were cast