Leading on from this question, I have an arbitrary number of dataframes
df1, df2, df3,..., dfn
and I need to apply the same function to each of them. Since I do not know how many data frames there will be, none of the answers apply to my use case, as they involve accessing each data frames via df_list[0], df_list[1]
, etc. or df_dict['first'], df_dict['second']
, etc. afterwards.
How do I do this?