Book Recommendation Engine using KNN: getting wrong results

I am sorry to inform you that the tests in this task are faulty. You have to twist and turn your data to get the correct answer.

There is another thread which solves this issue. The link to the thread is - Book Recommendation KNN System