Reshaping Data with Pivot in Apache Spark – Databricks