RDD.
setName
Assign a name to this RDD.
New in version 1.0.0.
new name
RDD
the same RDD with name updated
See also
RDD.name()
Examples
>>> rdd = sc.parallelize([1, 2]) >>> rdd.setName('I am an RDD').name() 'I am an RDD'
previous
pyspark.RDD.saveAsTextFile
next
pyspark.RDD.sortBy