pyspark.SparkContext.stop

SparkContext.stop()[source]

Shut down the SparkContext.