I have two dataframes namely a_df
and b_df
and have defined them separately under two different if conditions.
Once, outside the conditions I want to use them like {i}_df['col']
where the value is input by user and can be a, or b. How do I incorporate a variable into the name of dataframe as such.