Databases for lazy people, a Python library

Nov 15, 2013

Friedrich Lindenberg and Gregor Aisch recently released dataset, a Python library to take the grunt work out of using databases in Python.

Although managing data in relational database has plenty of benefits, they’re rarely used in day-to-day work with small to medium scale datasets. But why is that? Why do we see an awful lot of data stored in static files in CSV or JSON format, even though they are hard to query and update incrementally?

The answer is that programmers are lazy, and thus they tend to prefer the easiest solution they find. And in Python, a database isn’t the simplest solution for storing a bunch of structured data. This is what dataset is going to change!

So many times I start with a dataset, try to avoid the busy work in creating a database for a smallish project, and eventually dig up an old script or the most recent version of it. Saving this one for later.

Favorites

Famous Movie Quotes as Charts

In celebration of their 100-year anniversary, the American Film Institute …

The Best Data Visualization Projects of 2011

I almost didn’t make a best-of list this year, but …

Life expectancy changes

The data goes back to 1960 and up to the most current estimates for 2009. Each line represents a country.

How You Will Die

So far we’ve seen when you will die and how other people tend to die. Now let’s put the two together to see how and when you will die, given your sex, race, and age.