Using the Python package PANDAS, I have a simple loop where I want to print some data frame information
for df in (df1, df2, df3, df4, df5, df6, df7):
print(df.keys())
However, I also want to label each dataframe with its variable name (ex: df1 or df2). Is there a way to print the variable name?
Looking at How do I print the variable name holding an object? there doesn't seem to be a good answer for java but I'm not sure with Python. Any tips? Thanks.