I have a Python Pandas data frame like following:
movie unknown action adventure animation fantasy horror romance sci-fi
Toy Story 0 1 1 0 1 0 0 1
Golden Eye 0 1 0 0 0 0 1 0
Four Rooms 1 0 0 0 0 0 0 0
Get Shorty 0 0 0 1 1 0 1 0
Copy Cat 0 0 1 0 0 1 0 0
I would like to combine the movie genres into one singe column. Output would be like this:
movie genre
Toy Story action, adventure, fantasy, sci-fy
Golden Eye action, romance
Four Rooms unknown
Get Shorty animation, fantasy, romance
Copy Cat adventure, horror