code_7.py 125 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3
d_city = pd.get_dummies(df_bank['City'], prefix = "City")
df_bank = [df_bank, d_city]
df_bank = pd.concat(df_bank, axis = 1)