I have a pandas dataframe similar to:
df = pd.DataFrame([[\'1/1/2020\',0.1,0.3,\'cat1\',\'csv\'],\\ [\'1/1/2020\',0.4,0.7,\'cat1\',\'excel\'