:-1].valuesy = df.iloc[:,1].valuesx_train, x_test, y_train, y_test = train_test_split(x, y, test_size=.2, random_state=0)model = LinearRegression().fit(x_train,y_train)importmatplotlib.pyplotaspltpl =