pandas df to mongodb

36

db.myCollection.insert_many(df.apply(lambda x: x.to_dict(), axis=1).to_list())

Comments

Submit
0 Comments