pub fn then_df_cast_default<TK, TIA, TOA, M>(
    column_name: TK
) -> PartialTransformation<DataFrameDomain<TK>, DataFrameDomain<TK>, M, M>
Expand description

Make a Transformation that casts the elements in a column in a dataframe from type TIA to type TOA. If cast fails, fill with default.

TIATIA::default()
float0.
int0
string""
boolfalse

Arguments

  • column_name - column name to be transformed

Generics

  • TK - Type of the column name
  • TIA - Atomic Input Type to cast from
  • TOA - Atomic Output Type to cast into