pyspark.RDD.name

RDD.name() → Optional[str][source]

Return the name of this RDD.

New in version 1.0.0.

Returns
str

RDD name

See also

RDD.setName()

Examples

>>> rdd = sc.range(5)
>>> rdd.name() == None
True