df_nominal_dummy=pd.get_dummies(df_cate_nominal,drop_first=True) df_nominal_dummy.head(5) # COLUMN NAME will be same as "df_cate_nominal"(df_cate_nominal,drop_first=True))