Untitled

mail@pastecode.io avatar
unknown
python
9 days ago
212 B
1
Indexable
Never
ort seaborn as sns
import matplotlib.pyplot as plt

# Calculate correlation matrix
corr_matrix = dfremove.corr()

# Plot heatmap
sns.heatmap(corr_matrix, annot=True, cmap='coolwarm', fmt=".2f")
plt.show()
Leave a Comment