Problem
Load the boston data set and work on the following.
import pandas as pd
import seaborn as sns
#Plotting
import matplotlib.pyplot as plt
%matplotlib inline
from sklearn.datasets import load_boston
boston_dataset = load_boston()
boston = pd.DataFrame(data = boston_dataset.data, columns = boston_dataset.feature_names)
boston['MEDV'] = pd.Series(boston_dataset.target)
boston.head()
• Which town of Boston has lowest median value of owner- occupied homes? Name this index as the variable min_medv. If there are multiple towns with the same minimum median value, then choose the first such observation. What are the values of the other predictors for that suburb, and how do those values compare to the overall ranges for those predictors? Comment on your observations.