transform a subset of column(s) in a Spark Dataframe
transform_sdf(x, cols, fn)
An object coercible to a Spark DataFrame
Subset of columns to apply transformation to
Transformation function taking column name as the 1st parameter, the
corresponding org.apache.spark.sql.Column
object as the 2nd parameter,
and returning a transformed org.apache.spark.sql.Column
object