Skip to content

Instantly share code, notes, and snippets.

@animesh-agarwal
Created October 1, 2018 17:39
Show Gist options
  • Save animesh-agarwal/999909e3f452f05be90f6b1e3083fa90 to your computer and use it in GitHub Desktop.
Save animesh-agarwal/999909e3f452f05be90f6b1e3083fa90 to your computer and use it in GitHub Desktop.
correlation_matrix = boston.corr().round(2)
# annot = True to print the values inside the square
sns.heatmap(data=correlation_matrix, annot=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment