Skip to main content

rdd

Returns the content as an RDD of Row.

Returns

RDD

Examples

Python
df = spark.range(1)
type(df.rdd)
# <class 'pyspark.core.rdd.RDD'>
On this page