Having trouble with simple kNN regression code on Harvard data science with python course. Can’t figure out how to debug it
My last group of code continues to give me a value error: Expected a 2-dimensional container but got <class ‘pandas.core.series.Series’>. I believe this is due to code earlier on that (although free of bugs, does not work with this later code). first errors with associated code