transform a subset of column(s) in a Spark Dataframe
transform a subset of column(s) in a Spark Dataframe
transform_sdf(x, cols, fn)
x |
An object coercible to a Spark DataFrame |
cols |
Subset of columns to apply transformation to |
fn |
Transformation function taking column name as the 1st parameter, the
corresponding |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.