📅  最后修改于: 2022-03-11 14:57:07.509000             🧑  作者: Mango
for i in range(len(correlation_matrix .columns)):
for j in range(i):
if abs(correlation_matrix.iloc[i, j]) > 0.8:
colname = correlation_matrix.columns[i]
correlated_features.add(colname)