python knn data

i need write the code for preprocessing part and its just one line that i need