Transforming data by using Scala
All the Spark transformation examples that we saw in the initial sections of this chapter were in Scala, so you already know how to transform data using Scala. Since learning Scala is not in the scope of this book, we will not go deeper into the language aspects of Scala. If you are interested in learning Scala, then you can find some good resources here: https://www.scala-lang.org/.