pyspark.sql.SparkSession.sparkContext

property SparkSession.sparkContext

Returns the underlying SparkContext.

New in version 2.0.