sparkbyexamples.com
PySpark - What is SparkSession?
Since Spark 2.0 SparkSession has become an entry point to PySpark to work with RDD, and DataFrame. Prior to 2.0, SparkContext used to be an entry point.
Naveen Nelamali