PYSPARK I am not able to convert Data Frame

RDDs cannot be directly converted to DataFrames with toDF() function.
Try below,