I have a data with movie genres. the genres are separated with " "
id genres
0 drama romance
1 drama
2 comedy
3 mystery thriller
4 crime thriller
...
And I want to split them by genres(about 20)
id drama romance comedy...
0 1 1 0
1 1 0 0
2 0 0 1
3 0 0 0
4 0 0 0
...
I was thinking about getting dummies but I don't think it can help.