title: How to clear variables in python automatically?
body: <p>I'm working with csv files in pandas, these files are too big to be loaded at once so what I want to do is load once at a time, process it and load the next, something like this:</p>
  
  <pre><code>data_frame1  = pd.read_csv('first_file.csv')
  
  #some processing 
  
  # clear the variable here to free memory
  
  data_frame2  = pd.read_csv('second_file.csv')
  # some processing
  
  ....
  ....
  ....
  </code></pre>
  
  <p>Now, I know that:</p>
  
  <pre><code>%reset_selective data_frame1
  </code></pre>
  
  <p>will kill the variable but it puts a dialog this dialog:</p>
  
  <pre><code>Once deleted, variables cannot be recovered. Proceed (y/[n])?
  </code></pre>
  
  <p>And I've to accept it in order to continue, I want to make this automatically so I don;t have to be in the computer just to press 'y'</p>