Spark Dataframe Groupby Example Scala