Skip to main content
Adrian DUPUIS avatar

Adrian DUPUIS has completed

Introduction to MongoDB in Python

Start course For Free
3 hr
2,600 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies


Course Description

Break free from rigid database structures and discover the power of MongoDB, the document database that adapts to your data. In this hands-on course, you'll master MongoDB operations through the PyMongo library. You'll query, filter, and manipulate documents and learn how to leverage MongoDB's flexible schema while also implementing validation when structure matters. From basic CRUD operations to advanced query operators, sorting, projections, and bulk operations, you'll gain practical skills to build and maintain modern data applications. This course equips you with the essential MongoDB skills that today's data professionals need.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Getting Started with MongoDB

    Free

    A soft landing into the world of MongoDB and its key features as a NoSQL database. Learn how MongoDB compares to relational databases, and what it offers. Connect to a MongoDB server and database and retrieve your first documents.

    Play Chapter Now
    Introduction to MongoDB
    50 xp
    Connecting to a MongoDB server
    100 xp
    Querying a MongoDB Database
    50 xp
    List databases and collections
    100 xp
    Retrieving documents using .find()
    100 xp
    Retrieving a specific document using .find_one()
    100 xp
  2. 2

    Filters, operators, and query options

    Free

    Learn how to have MongoDB only return exactly what you need with filters and operators. Discover how to sort records, limit the number of documents returned, and retrieve the count of matching documents for specific queries.

    Play Chapter Now
  3. 3

    Inserting, Updating & Deleting Records

    Free

    Explore the ability to insert entirely one or multiple new records into a MongoDB collection. Learn how to update individual or multiple documents simultaneously, and replace entire documents within a database. Get experience with deleting records from a collection.

    Play Chapter Now
  4. 4

    Enforcing Schema and Composing Multiple Operations

    Free

    Learn how to use define and enforce structure in MongoDB documents when working with PyMongo. Explore using .bulk_write() to efficiently batch multiple write operations into a single request, improving performance while maintaining control over ordered execution and error handling.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Popular movies dataset

collaborators

Collaborator's avatar
James Chapman
Filip Schouwenaars HeadshotFilip Schouwenaars

Machine Learning Researcher

Filip is the passionate developer behind several of DataCamp's most popular Python, SQL, and R courses. He also led the development of DataLab, DataCamp's collaborative data science notebook. Holding degrees in Electrical Engineering and Artificial Intelligence, he currently works as a freelance machine learning researcher and data science educator.
See More

Join over 17 million learners and start Introduction to MongoDB in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.