title: Pull column values into new column pandas
body: <p>I have a Pandas dataframe that looks like the following:</p>
  
  <pre><code>c1 c2 c3 c4
  p1 q1 r1 20
  p2 q2 r2 10
  p3 q3 r1 30
  </code></pre>
  
  <p>I would like to pull the unique values of column c3 and make them into new columns, which would finally look like the following - </p>
  
  <pre><code>c1 c2 r1 r2
  p1 q1 20 0 
  p2 q2 0  10
  p3 q3 30 0
  </code></pre>
  
  <p>Is there any ways to achieve this? I am trying with Pivot tables, but not able to get the desired result.</p>