Using Python’s namedtuple for mock objects in tests

I have become quite a fan of Python’s built-in namedtuple collection lately. As others have already written, despite having been available in Python 2.x and 3.x for a long time now, namedtuple continues to be under-appreciated and under-utilised by many p… Read more

Similar

Exploratory Data Analysis in Python

In this notebook I'm going to share with you some of my techniques and thought processes for exploratory data analysis. I'll demonstrate everything with analysis of a real data set. It is important to emphasize that there isn't a single right way to do ... (more…)

Read more »