Intermediate commit to stat_script to save all the pandas work. (But everything is broken at the moment.)