Data & Analysis
Intermediate
🔥 Trending
Correlation Matrix Interpreter
Generate Python code to plot correlation heatmaps and extract relationships.
👁️ 8307 views
❤️ 148 likes
📋 472 copies
The Prompt Template
Write a Python script using seaborn/pandas to plot a correlation matrix of [DATASET]. Output must: 1) Calculate Pearson correlation coefficients, 2) Plot a styled heatmap with annotations, 3) Print a list of variables with strong correlation (>0.7) or negative correlation (<-0.5).
281 characters
Tags
Works Best With
ChatGPT Claude