Skip to content

Instantly share code, notes, and snippets.

@jeetaf
Created June 29, 2021 11:01
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 jeetaf/c92cceb00cf6b451a56760009b835e3d to your computer and use it in GitHub Desktop.
Save jeetaf/c92cceb00cf6b451a56760009b835e3d to your computer and use it in GitHub Desktop.
import seaborn as sns
featureMeans = list(df.columns[1:11])
plt.figure(figsize=(10,10))
sns.heatmap(df[featureMeans].corr(), annot=True, square=True, cmap='coolwarm')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment