Pure python which mimics some portions of SAS's Data Step