I want to create a function, which looks like the following:
def function(ticker,A,B):
dataframe = df['string']
return dataframe
The dataframe df should get the Strings like '20' oder '10' so that its name looks like, e.g. df_20_10.
def function(ticker,A,B):
dataframe = df_A_B['string']
return dataframe
-> does not work
Can anybody help me, please?