Backup, working on collapsing csv dataframe.