I have a loop that generates random results every time thanks to my Generate_Dataframe function. So the name columns stay the same but my "Result" column is always a different float value.
def Generate_Dataframe():
 #Do Some Stuff
  return DataFrame  
an example of what I get back would be something like...
DataFrame
Name 1       Name 2        Result
Joe          Smith           5.5
Jake         Smith           4.5
Jim          Smith           2.5
Joanne       Smith           1.5
So when I run my loop I'm generating dataframes like the one above, I want to be able to update/add the Result column each time.
for x in range(1,5):
    New_DataFrame = Generate_DataFrame()
I haven't been able to find a way to store the dataframe. Optimizing for speed would be great. Thanks in advance!
 
     
    