To convert a dataframe back to rdd simply use the .rdd method:
rdd = df.rdd
But the setback here is that it may not give the regular spark RDD, it may return a Row object. In order to have the regular RDD format run the code below:
rdd = df.rdd.map(tuple)
or
rdd = df.rdd.map(list)