ValueError in code
Hi!
I encountered a valueError in my code while following the lesson steps. I read the similar questions and answers concerning this error, I noticed that my own error message is quite different. Please how do I correct the error.

1 answers ( 0 marked as helpful)
Found the error. I alternated the dependent and independent variables. That is;
y = data['SAT']
x1 = data['Admitted']