Skip to content

Instantly share code, notes, and snippets.

@ParthNipunDave
Last active June 9, 2021 07:18
Show Gist options
  • Save ParthNipunDave/0a86762caf9bee6f16bdc704c24cd80b to your computer and use it in GitHub Desktop.
Save ParthNipunDave/0a86762caf9bee6f16bdc704c24cd80b to your computer and use it in GitHub Desktop.
sns.heatmap(data.corr(),annot=True,fmt='.2f')
x=data.corr()
cols=x[(x.values>0.2)&(x.index=='Outcome')]['Outcome'][:-1].index
print(cols)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment