sklearn KNN fit throws out error : value too large for dtype('float64')
I'm almost certain that you have missing values, check that and fill them beforehand
Assuming you data frame is called df
df.info() will give you that info
Additionally df.describe() is a good method to validate the maxmimum value is not np.inf