text_plain_output_3.png text_plain_output_2.png text_plain_output_1.png
from sklearn.preprocessing import StandardScaler

import pandas as pd

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

submission_sumple = pd.read_csv('/kaggle/input/aiacademydeeplearning/sample_submission.csv')

train = pd.read_csv('/kaggle/input/aiacademydeeplearning/train.csv')
num_cols = ['bedrooms', 'bathrooms', 'area', 'zipcode']
target = ['price']
train[num_cols] = train[num_cols].fillna(-99999)
Scaler = StandardScaler()
train[num_cols] = Scaler.fit_transform(train[num_cols])

test = pd.read_csv('/kaggle/input/aiacademydeeplearning/test.csv')
test[num_cols] = test[num_cols].fillna(-99999)
Scaler = StandardScaler()
test[num_cols] = Scaler.fit_transform(test[num_cols])
display(test.shape)
display(test.head())