title: Python Pandas data transformation
body: <p><a href="https://i.stack.imgur.com/FOGAA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FOGAA.png" alt="Before" /></a></p>
  <p>Hi, so I have a dataset structured like this where every row is a team in a race and the score they earned. But I need it shaped like this.</p>
  <p><a href="https://i.stack.imgur.com/qS6mL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qS6mL.png" alt="After" /></a></p>
  <p>It would be better if the scores are added on top of the previous score but that is not a requirement.</p>
  <p>Can someone help me? Thanks.</p>