I am trying to concat 12 dataframes. These dataframes are generated by a function (helper) and inputs are named similarly as "m1, m2, m3, m4...,m12". So I wrote down:
months = list(range(1,13))
agg = pd.concat([helper(f'm{month}') for month in months])
But it seems like the "m1,m2,m3..." are read as strings rather than names of dataframes. How can I iterate these 12 names without letting python read it as strings?