i have a df that i have used the heat-map to find the correlation between columns, and i want to drop those correlated columns, is there any library or any function which am unaware of to sort this problem?
import matplotlib.pyplot as plt
import seaborn as sns
fig, ax = plt.subplots(figsize=(30,30))
sns.heatmap(dfnew.corr(),annot = True, vmin=-1, vmax=1, center= 0, cmap= 'coolwarm',ax=ax)