write df instead of list to dataformats.csv