pyspark.sql.SparkSession.stop

SparkSession.stop() → None[source]

Stop the underlying SparkContext.

New in version 2.0.