for key in CatDict:
CatName = CatDict[key]['name']
print('This is the ' + CatName + 'info')
**Problem Area (CatName + 'DF')** = CalcDF[CalcDF.Cat == CatDict[key]['number']]
Basically what I am trying to do is create a new dataframe that is named by concatenating 'CatName' with the string 'DF' for every iteration of this loop.
I have been having a lot of trouble with that and I am not sure if what I am trying to do is feasible.
The dataframes are already formed outside the for loop I am just doing this to assign them the data that I want
Thank you
CatDictis. You should also include a representation of what you think the final result should look like. One the more aggrevating things an answerer can encounter is to try to answer someone's question only for the asker to say "that's not what I meant".