DataFrame.
rdd
Returns the content as an pyspark.RDD of Row.
pyspark.RDD
Row
New in version 1.3.0.
RDD
Examples
>>> df = spark.range(1) >>> type(df.rdd) <class 'pyspark.rdd.RDD'>