title: Difference between df.where( ) and df [ (df [ ] == ) ] in pandas , python
body: <p>Can Any I help me in telling the difference between these two statements in pandas - python</p>
  
  <pre><code>df.where(df['colname'] == value)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>df[(df['colname'] == value)]
  </code></pre>
  
  <p>Why Am I getting different sizes in the output dataframe</p>