Plot RDD data using a pyspark dataframe from csv file
There is no need of two rdd values,

plotdf=df.select(_c3,_c4);
plotdf.plot( style=[])
plt.show()


If you still face the error, please follow the link and set index.