NoSQL database: create a MongoDB database Interconnect it with Python.
Here we are going to create a database in MongoDb. You must first have a Mongodb account, access it and follow the steps that we are going to carry out here.
- Create a non-SQL database in Mongodb
- Connect to database using python
- Add record to database from python
- make some queries and transform them to pandas dataframe
-
you must have a MongoDB account.
-
Libraries:
- pandas==1.4.1
- pymongo==4.1.1
- requests==2.27.1