I have a dictionary like this: dict_eg = {'long name1':'short name1', 'long name2':'short name2', ...}
And I have a dataframe that I would like to filter based on the long name, and name that dataframe based on the short name. This would then loop through each long name option creating separate dataframe.
I have got the filter part working, but how I can name the dataframes created off of each distinct long name.
for long, short in dict_eg.items():
**help_me_here_plz** = df_all[df_all['Column'] == column]