-
-
Save douglaspsteen/578712f48c15091597522c223c5c2d50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find the 5 nearest neighbors | |
df_nn = df_dists.sort_values(by=['dist'], axis=0)[:5] | |
df_nn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment