title: Save pandas dataframes in loop after manipulating
body: <p>I have a loop that takes a series of existing data frames and manipulates their formats and values. I need to know how to create new dataframes containing the modified contents at end the loop. </p>
  
  <p>Example is as follows:</p>
  
  <pre><code>import pandas as pd
  
  # Create datasets
  First = {'GDP':[200,175,150,100]}
  Second = {'GDP':[550,200,235,50]}
  
  # Create old_dataframes
  old_df_1 = pd.DataFrame(First)
  old_df_2 = pd.DataFrame(Second)
  
  # Define references and dictionary
  old_dfs = [old_df_1, old_df_2]
  new_dfs = ['new_df_1','new_df_2']
  dictionary = {}
  
  # Begin Loop
  for df, name in zip(old_dfs, new_dfs):
  
      # Multiply all GDP values by 1.5 in both dataframes
      df = df * 1.5    
  
      # ISSUE HERE - Supposed to Create new data frames 'new_df_1' &amp; 'new_df_2' containing df*1.5 values: Only appends to dictionary. Does not create new_df_1 &amp; new_df_2
      dictionary[name] = df
  
  # Check for the existance of 'new_df_1 &amp; new_df_2' (They will not appear)
  %who_ls DataFrame
  </code></pre>
  
  <p>ISSUE: I have marked the issue above. My code does not create 'new_df_1' &amp; 'new_df_2' dataframes. It simply appends them into dictionary. I need to be able to create new_df_1 &amp; new_df_2 <strong>as separate dataframes.</strong>  </p>