Issues with pandas Dataframe

Below code I have y_test & predicted_y and I want to compare them side by side using pandas df. Although I am getting output but it seems absurd (displayed below). weather = pd.read_csv(‘weather.csv’) X = weather[‘TempLowF’] y = weather[‘TempHighF’] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2) slope, intercept, r, p, std_err =…

Details