code_25.py 168 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3 4
frames = [df_heart, a, b, c]
df_heart = pd.concat(frames, axis = 1)
df_heart = df_heart.drop(columns = ['cp', 'thal', 'slope'])
df_heart.head() # 显示新的dataframe