refactored templates to use native pandas series objects, removed all of the translation crap