【发布时间】:2018-09-27 18:22:53
【问题描述】:
这是我的数据
Id feature1 feature2 feature3 feature4 feature5 feature6
1 4 5 7 7 4 5
2 5 6 8 8 5 5
我想要的是删除重复数据
Id feature1 feature2 feature3 feature6
1 4 5 7 5
2 5 6 8 5
如果重复描述也更好
feature3 is same with feature4
feature2 is same with feature5
通常,我使用 seaboarn corplot,但是当特征增长超过 100 时我会感到困惑
import seaborn as sns
ax = sns.heatmap(df)
【问题讨论】:
标签: python pandas feature-selection