correct csv and cobbled together python