title: calculating percentages on a pyspark dataframe
body: <p>I have a pyspark dataframe from the titanic data that I have pasted a copy of below. How would I add a column with the percentages of each bucket? </p>
  
  <p><a href="https://i.stack.imgur.com/I5TXm.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/I5TXm.jpg" alt="enter image description here"></a></p>
  
  <p>Thanks for the help!</p>