I want to convert data from Dataframe to RDD, and save to Mongodb , here is my code:
import pymongo import pymongo_spark from pyspark import SparkConf, SparkC