I have tried searching the forums, but couldn't really find one for the problem I am facing.
I am trying to create a dataframe within a function.
However the name of the dataframe is something I want to dynamically create based on a parameter value that is passed to the function.
Am not sure how I can do this in a quick way. Can you please advise.
Eg:
def Upload(file, ABC):
df_ABC = pd.read.......
return df_ABC
def Upload(file, NYK):
df_NYK = pd.read.......
return df_NYK