>>>
indicate you work in interactive mode.You want to print the result
print(get_df_name(df))if you were not working in interactive mode, but had the code in py file and execute it, there would be no output without the print.
Note, I am not sure why would you need the
df_name
string, nor what df
that you pass when calling the function is
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs