title: I am doing a filter and count on the pyspark dataframe col..how to store the result in another col in the same dataframe?
body: <p>I want to store the result of below line in a col in the same df dataframe.</p>
  
  <p><code>df.filter(F.abs(df.Px)&lt; 0.005).count()</code></p>
  
  <p>How can I do that?</p>