Skip to content

Instantly share code, notes, and snippets.

@srishtis
Created September 25, 2018 14:55
Show Gist options
  • Save srishtis/4428a244b902ff2d358d75d69d124ef3 to your computer and use it in GitHub Desktop.
Save srishtis/4428a244b902ff2d358d75d69d124ef3 to your computer and use it in GitHub Desktop.
Scatter plot to see distribution of data of few columns
#scatterplot for selected columns (defined in cols)
sns.set()
cols = ['SalePrice', 'OverallQual', 'GrLivArea', 'GarageCars','GarageArea' ,'TotalBsmtSF', 'FullBath', 'YearBuilt','TotRmsAbvGrd']
sns.pairplot(train_df[cols], size = 2.5)
plt.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment