I have a list of dataframe variables:
B = [df1,df2,df3,df4]
I am running a for loop like below:
for element in B:
element + '_norm' = (element - element.mean())/ (element.max() -
element.min())
How do I write the variable name so that I may reference the normalized dataframe? That is to say I would like to be able to define the normalized dataframe 3 using the variable "df3_norm". How can I write the variable into the for loop so that the "df3_norm" format can be referenced?