TaskContext.
partitionId
The ID of the RDD partition that is computed by this task.
current partition id.
previous
pyspark.TaskContext.getLocalProperty
next
pyspark.TaskContext.resources