title: Applying a key value dictionary pair to multiple column in a dataframe
body: <p>I need to apply changes into current dataframe in 2 columns with a dictionary key to one column and value to another column for each value coming from dict. I am not able to find any way to do that for eg.</p>
  <pre><code>dict is - test = {'a':32, 'b':21, 'c':92}
  </code></pre>
  <p>current dataframe looks forms like</p>
  <pre><code>date         env   result         cost
  
  2021-03-01   dev      gcp.dev.a         30
  2021-03-01   prd      gcp.prd.d         35
  2021-03-01   dev      gcp.dev.j         98
  2021-03-01   sandbox  gcp.sandbox.b     94
  </code></pre>
  <p>after adding changes from the dictionary on result and cost column dataframe should look like below -</p>
  <pre><code>date         env        result          cost
  
  2021-03-01   dev      gcp.dev.a           30
  2021-03-01   prd      gcp.prd.d           35
  2021-03-01   dev      gcp.dev.j           98
  2021-03-01   sandbox  gcp.sandbox.b       94
  2021-03-01   dev      gcp.dev.a           32 
  2021-03-01   prd      gcp.prd.b           21  
  2021-03-01   prd     gcp.prd.c          92
  </code></pre>
  <p>here gcp is a fixed value, that is being added  and dev and prd is being coming from env column.</p>
  <p>above you notice last 3 rows are being added by taking test dictionary key values each being added in result and cost. i.e relevant row should be added in both the columns for each key value pair</p>