image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import numpy as np
import pandas as pd
df = pd.read_csv('../input/train.csv')

import matplotlib.pyplot as plt

housing = df.copy()

corr_matrix = housing.corr()

attributes = corr_matrix['SalePrice'].sort_values(ascending=False)
attributes

top10 = attributes[1:11]
attributes[:11]

housing = df.drop('SalePrice', axis=1)
housing_labels = df['SalePrice'].copy()

top10 = list(top10.index)
housing = housing[top10]

housing.describe()