title: Get the first row with positive amount in Pyspark
body: <p>I have data like this</p>
  <p><a href="https://i.stack.imgur.com/vjU7b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vjU7b.png" alt="enter image description here" /></a></p>
  <p>I want to flag the first positive amount as below</p>
  <p><a href="https://i.stack.imgur.com/HHO5r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HHO5r.png" alt="enter image description here" /></a></p>
  <p>How do I flag the first positive amount for each id as shown above in Active column?</p>