Created
September 25, 2018 14:55
-
-
Save srishtis/4428a244b902ff2d358d75d69d124ef3 to your computer and use it in GitHub Desktop.
Scatter plot to see distribution of data of few columns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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