code_24.py 160 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3
a = pd.get_dummies(df_heart['cp'], prefix = "cp")
b = pd.get_dummies(df_heart['thal'], prefix = "thal")
c = pd.get_dummies(df_heart['slope'], prefix = "slope")