text_plain_output_1.png
from sklearn.datasets import load_boston

import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

from sklearn.datasets import load_boston
load_boston = load_boston()
x = load_boston.data
y = load_boston.target
data = pd.DataFrame(x, columns=load_boston.feature_names)
data['SalePrice'] = y

data.isnull().sum()

plt.tight_layout()

fig, ax = plt.subplots()
ax.scatter(x=data['CRIM'], y=data['SalePrice'])
plt.ylabel('SalesPrice', fontsize=13)
plt.xlabel('CRIM', fontsize=13)
plt.show()