title: Find rows having same values in multiple columns(Not All Columns) in Pandas Dataframe
body: <p>Below is my Dataframe:</p>
  
  <pre><code>X1  X2  X3  X4  X5
  A   B   C   10  BAM
  A   A   A   12  BAM
  B   B   B   10  BAM
  A   B   B   60  BAM
  </code></pre>
  
  <p>I want those rows having <code>same values</code>  in <code>columns(X1, X2,X3)</code>. Here we can see <code>2nd</code> and <code>3rd</code> rows  are having same values for above 3 columns.
   My desired output is:</p>
  
  <pre><code> X1 X2  X3  X4  X5
  A   A   A   12  BAM
  B   B   B   10  BAM
  </code></pre>
  
  <p>I tried like below:</p>
  
  <pre><code>yourdf1=df[df.nunique(0)==0]
  print(yourdf1)
  </code></pre>
  
  <p>But here i am getting an error. Could anyone please help me.</p>