text_html_output_1.png
import pandas as pd

import pandas as pd
from sklearn.model_selection import train_test_split
data = pd.read_csv('../input/melbourne-housing-snapshot/melb_data.csv')
data.shape

y = data.Price
y.isnull().count()

melb_predictors = data.drop(['Price'], axis=1)
melb_predictors.shape

melb_predictors.dtypes

X = melb_predictors.select_dtypes(exclude=['object'])
X.shape

X.dtypes

data.shape

y = data.Price
y.shape

X = data.drop(['Price'], axis=1)
X.shape