subsiminar una columna y darle un valor usando numpy

# Convert genre to a binary feature
music_df["genre"] = np.where(music_df["genre"] == "Rock", 1, 0)
#This will give a value 1 for all rock genre and 0 for others 
josh.ipynb