Created
August 27, 2020 00:06
-
-
Save adrianmarkperea/25785fa6ad9c5ea2d89fa379316a7fd3 to your computer and use it in GitHub Desktop.
Simple Correlation Matrix with Heat Map using Pandas and Seaborn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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