Skip to content

Instantly share code, notes, and snippets.

@AdroitAnandAI
Created December 15, 2018 00:24
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 AdroitAnandAI/d1f86b245be4f9d883756ad0b52ca0d2 to your computer and use it in GitHub Desktop.
Save AdroitAnandAI/d1f86b245be4f9d883756ad0b52ca0d2 to your computer and use it in GitHub Desktop.
biv
# To plot the correlation of all features against crime rate
for i in range(0, len(crimeData.columns), 5):
sns.pairplot(data=crimeData,
x_vars=crimeData.columns[i:i+5],
y_vars=['crmrte'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment