I have several dataframes, such as df1, df2 etc. then i made a list of the names of these df's like lst = ['df1', 'df2']
Now, I want to use these df's in a function "my_func()"
my_func(dataframe=df1)
my_func(dataframe=df2)
...
How can i express the list of dataframes in a loop, so that i can call different df's in my_func? (the way below does't work, since I'm calling strings instead of df's...)
for i in lst:
my_func(dataframe=i)
Thanks!