Skip to content

Instantly share code, notes, and snippets.

@adrianmarkperea
Created August 27, 2020 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianmarkperea/25785fa6ad9c5ea2d89fa379316a7fd3 to your computer and use it in GitHub Desktop.
Save adrianmarkperea/25785fa6ad9c5ea2d89fa379316a7fd3 to your computer and use it in GitHub Desktop.
Simple Correlation Matrix with Heat Map using Pandas and Seaborn
import seaborn as sns
fig = plt.subplots(figsize = (10,10))
sns.set(font_scale=1.5)
sns.heatmap(df.corr(),square = True,cbar=True,annot=True,annot_kws={'size': 10})
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment