Arrrrgh!!!

Simple shit in R turns out to be ridiculously hard in Python.