text_html_output_1.png
from sklearn.linear_model import LinearRegression

import pandas as pd

df = pd.read_csv('../input/housing-prices-dataset/Housing.csv')

df = df.drop(columns=['parking', 'bedrooms', 'bathrooms'])

X = df[['area', 'stories']]
y = df['price']

model = LinearRegression()
model.fit(X, y)

model.score(X, y)

model.intercept_

model.coef_