title: Search and Replace in pandas dataframe for large dataset
body: <p>I have a dataset of size 1 million and type dataframe.</p>
  
  <p><pre>
  Id      description
   1      bc single phase acr
   2      conditioning accum
   3      dsply value ac
  </pre>
  and dictionary of size 2927 which looks like as follow:</p>
  
  <pre>
  Key     Value
  accum   accumulator
  bb      baseboard
  dsply   display
  </pre>
  
  <p>executed the following code to replace the dictionary key found in dataframe with its value</p>
  
  <pre><code>dataset=dataset.replace(dict, regex=True)
  </code></pre>
  
  <p>but it will consume more time to excecute i.e 104.07914903743769 sec for 2000 dataset and have 8GB RAM
  I need to apply this code for millions of dataset. so can anyone tell me how to reduce the excecution time? and also is there any alternate way to do the task?</p>