SparkContext.
version
The version of Spark on which this application is running.
New in version 1.1.0.
Examples
>>> _ = sc.version
previous
pyspark.SparkContext.union
next
pyspark.SparkContext.wholeTextFiles