Change dataframe to rdd format under spark
Dataframe can achieve many operations, but when stored locally, it can only be stored in parquest format.
Need to store source format, need to convert to rdd type
Mapping each line in a dataframe into a comma string makes it an rdd.