Hello! I can’t seem to get past the first test regarding the find_closest_centroids function. In my opinion however, my implementation is correct and it seems to give the right results. I get the following error.
When I copy the variables from the test file and run my function on them I do get [0,0,0,1,1,1] as an array:
Does anyone know what could have gone wrong? I can post my code if that helps.