So I am writing a script to retrieve dataframes from an API and have a large list to do this for and would like to iterate over them to request it for each.
I have seen that this would possibly solve my problem:
for x in list:
globals()['string%s' % x] = dataframe #code to go get the dataframe
however this is deemed bad practice. Hoping someone could clarify why and if this use case warrants it?