```
  index            0          1         2         3         4        5  \
0         0       Action  Adventure   Fantasy    Sci-Fi       NaN      NaN   
1         1       Action  Adventure   Fantasy       NaN       NaN      NaN   
2         2       Action  Adventure  Thriller       NaN       NaN      NaN   
3         3       Action   Thriller       NaN       NaN       NaN      NaN   
4         4  Documentary        NaN       NaN       NaN       NaN      NaN   
5         5       Action  Adventure    Sci-Fi       NaN       NaN      NaN   
6         6       Action  Adventure   Romance       NaN       NaN      NaN   
7         7    Adventure  Animation    Comedy    Family   Fantasy  Musical   
8         8       Action  Adventure    Sci-Fi       NaN       NaN      NaN   
9         9    Adventure     Family   Fantasy   Mystery       NaN      NaN

```

i have data like this...

but i have no idea to make dummies with difference size of data frame data in pandas python....

```
Action  Adventure   Fantasy Sci-Fi  Thriller    Ducumentary Romance Animation   Comedy  family  Fantasy Musical Mystery
0   1   1   1   1   0   0   0   0   0   0   0   0   0
1   1   1   1   0   0   0   0   0   0   0   0   0   0
2   1   1   0   0   1   0   0   0   0   0   0   0   0
3   1   0   0   0   1   0   0   0   0   0   0   0   0
4   0   0   0   0   0   1   0   0   0   0   0   0   0
5   1   1   0   1   0   0   0   0   0   0   0   0   0
6   1   1   0   0   0   0   1   0   0   0   0   0   0
7   0   1   0   0   0   0   0   1   1   1   1   1   0
8   1   1   0   1   0   0   0   0   0   0   0   0   0
9   0   1   0   0   0   0   0   0   0   1   1   0   1

```

like this....