How do I rename data frame file with a text variable containing the new name in Python?
df_new_name = 'df_with_new_name'
df_to_rename = pd.read_csv('C:\file.csv').
df_to_rename.rename(df_new_name) # doesn't work, so...
print(df_with_new_name) # would not be possible