I have a dataframe that looks like this:
Movie Action Adventure Duration Director More info...
SpongeBob 0 1 123 Karl
The Avengers 1 1 134 Annie
But I want to split that up into lines containing only the movie, one genre at a time and some more columns, like 'Director' and 'Duration'. After the transformation, the DataFrame should look like this:
Movie Genre Duration Director (No more extra info)
SpongeBob Adventure 123 Karl
The Avengers Adventure 134 Annie
The Avengers Action 134 Annie