Mongodb – pymongo insert all data in string format
I am importing csv using pymongo then inserting it into mongodb but due to some reason all field is in format of string where i was expecting double. Below is python code . def saveToMongo(): print("inside saveToMongo") collection = mydb['country']…