import org.apache.spark.sql.SparkSession
val spark = SparkSession.builder().appName("DataFrameApp").master("local[2]").getOrCreate()
import org.apache.spark.sql.SparkSession
val spark = SparkSession.builder().appName("DataFrameApp").master("local[2]").getOrCreate()