[What I am starting out withWhat I want to end up with](https://i.stack.imgur.com/xW8Zf.jpg)I am having trouble writing the code to transform this dataset into what you see below. I am a beginner and am just practicing using Python.
So far, I have tried the str.split, but it didn’t produce the results I was hoping for.