Apache Spark, Analytics, Cryptography, Computer Science, Data Engineering.
the concatenated string values from the columns name and emotion. This is broken down as the following flow. df.withColumn("concat", concat_ws("-",$"name",$"emotion")) .select("concat") .show +-----------+ | concat| +-----------+ |happy-smile| |angry-frown| +-----------+ The end result of the full