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