Spark Data Frame and RDD Diagram