I have a list of locations
[\"HOME\", \"Office\", \"SHOPPING\"]
and a pandas data frame \"DF\"
Start_Location End_Location
You could probably have a dictionary and you want to convert it to some dataframes, based on the keys of your dictionary:
gbl = globals() for keys, values in dictionary.items(): gbl['df_min'+ str(keys)] = pd.DataFrame(values)