Data Wrangling with MongoDB (Lesson 4 Working with MongoDB)
Study notes and mind-map for the free course of Data Wrangling with MongoDB in Udacity

In this post, we will talk about the mongoDB query language, putting documents into mongoBD, and getting them out using a variety of different operations and operators.
What is MongoDB?
MongoDB is widely used in big data and leading NOSQL database( document database).
Why MongoDB?
- Flexible schema(easy for csv file or hierarchical data)
- Oriented toward programers (data types found in most popular language)
- Flexible deployment
- Designed for big data (run on your own or multiple servers)
- Aggregation framework (easy for quick data analysis)
Get Started with MongoDB
You can download MongoDB for your platform from the official MongoDB page. You can also read specific MongoDB installation instructions.
MongoDB has a lot of drivers and client libraries. The one we will be using in this course is PyMongo. See the official documentation for PyMongo installation instructions.
Mind-map for basic queries
Bellow is the mind-map of sample code using PyMongo to run queries.
- Getting Data into MongoDB
- Find Document
- Operations and Operators

Above is all my takeaway from this lesson. Feel free to like and repost if you learned some from this post. And please don’t feel any hesitation to ask question and give advice. Enjoy self-learning and have fun!
