RDD.
context
The SparkContext that this RDD was created on.
SparkContext
New in version 0.7.0.
The SparkContext that this RDD was created on
Examples
>>> rdd = sc.range(5) >>> rdd.context <SparkContext ...> >>> rdd.context is sc True