Jfoxyyc
Valued Contributor

Try withColumn. ​withColumns takes an array of columns and does something with them, like rename using regex. withColumn creates new column named whatever.