📅  最后修改于: 2022-03-11 14:46:24.786000             🧑  作者: Mango
note:
dummies = pd.get_dummies(df[['column_1']], drop_first=True)
note:for more that one coloum keep ading in the list
dummies = pd.get_dummies(df[['column_1', 'column_2','column_3']], drop_first=True)