title: How to change both negative and Nan column value to Zero in Pandas
body: <p>My Data frame is like :</p>
  
  <pre><code>    A    B
  10  AAA  0.0333
  20  BBB  -67
  30  CCC -0.98
  40  DDD  NaN
  </code></pre>
  
  <p>How do I change the column B values (only negative and NaN to 0)</p>
  
  <p>So far I tried Like :</p>
  
  <pre><code>df[df&lt; 0 ] = 0 
  df.fillna(0, inplace=True)
  </code></pre>
  
  <p>But is there a efficient to do both in a single command ? I am new to pandas. Please tell me if it is not the best way to do so.</p>