pandasql: Make python speak SQL

Introduction One of my favorite things about Python is that users get the benefit of observing the R community and then emulating the best parts of it. I’m a big believer that a language is only as helpful as its libraries and tools. This post is about pandasql, a Python package we (Yhat) wrote that […]

Read More


Scaling Scala: How to Dockerize Using Kubernetes

Kubernetes is the new kid on the block, promising to help deploy applications into the cloud and scale them more quickly. Today, when developing for a microservices architecture, it’s pretty standard to choose Scala for creating API servers. Microservices are replacing classic monolithic back-end servers with multiple independent services that communicate among themselves and have […]

Read More


Testing Third-Party APIs with Mocks

The following tutorial demonstrates how to test the use of an external API using Python mock objects. Integrating with a third-party application is a great way to extend the functionality of your product. However, the added value also comes with obstacles. You do not own the external library, which means that you cannot control the […]

Read More


Mixed-mode estimation in petersburg

A couple of months ago I posted an overview of simple estimation of hierarchical events using python and petersburg.  At the time it probably seemed a little bit trivial, just building a structured frequency model and drawing samples from it. But I have finally implemented the next step to complete the intended functionality.  This post […]

Read More