title: Conditional Formatting on duplicate values using pandas
body: <p>I have a dataFrame with 2 columns a A and B. I have to separate out subset of dataFrames using pandas to delete all the duplicate values.</p>
  
  <pre><code>For Example
  </code></pre>
  
  <p>My dataFrame looks like this</p>
  
  <pre><code>**A     B**
  1     1
  2     3
  4     4
  8     8 
  5     6
  4     7
  </code></pre>
  
  <p>Then the output should be </p>
  
  <pre><code>**A     B**
  1     1       &lt;--- both values Highlighted
  2     3
  4     4       &lt;--- both values Highlighted
  8     8       &lt;--- both values Highlighted 
  5     6
  4     7       &lt;--- value in column A highlighted
  </code></pre>
  
  <p>How do I do that?</p>
  
  <p>Thanks in advance.</p>