Chapter 23. Saving data

This chapter covers

  • Storing data in relational databases
  • Using the Python DB-API
  • Accessing databases through an Object Relational Mapper (ORM)
  • Understanding NoSQL databases and how they differ from relational databases

When you have data and have it cleaned, it’s likely that you’ll want to store it. You’ll not only want to store it, but also be able to get at it in the future with as little hassle as possible. The need to store and retrieve significant amounts of data usually calls for some sort of database. Relational databases such as PostgreSQL, MySQL, and SQL Server have been established favorites for data storage for decades, and they can still be great options for many use cases. In recent years, NoSQL databases, ...

Get The Quick Python Book, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.