visions.functional.cast_frame¶
-
visions.functional.
cast_frame
(df, typeset)[source]¶ Casts a DataFrame into a typeset by first performing column wise type inference against a provided typeset
- Parameters
df (
DataFrame
) – the DataFrame to casttypeset (
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