I try to simulate dummy variable using a data of Movie Classification.
- import related Python libraries such as pandas and numpy
- define df by extracting the data movie_classification.csv into pandas data frame
- show the first 5 data in a row and choose which variable that should be converted into dummy. In this case, 3D available and Genre
- dummy is created