text_plain_output_1.png
import numpy as np

dataset.columns

df = dataset.drop(columns=['date', 'id'])
df1 = df.dropna()

df.columns

X = df.drop(columns=['price'])[:10]
y = df['price'][:10]

X_test = df.drop(columns=['price'])[:10]
X_test

X = df.drop(columns=['price'])[:10]
y = df['price'][:10]

X = df.drop(columns=['price'])[:10]
y = df['price'][:10]
X_b = np.c_[np.ones((10, 1)), X]
X = X.to_numpy()
y = y.to_numpy()

len(X)