Skip to content

Instantly share code, notes, and snippets.

@aravindpai
Last active April 28, 2020 19:12
Show Gist options
  • Save aravindpai/4f49cc25b15d18215dadc3c47fa72636 to your computer and use it in GitHub Desktop.
Save aravindpai/4f49cc25b15d18215dadc3c47fa72636 to your computer and use it in GitHub Desktop.
import pandas as pd
thresh=100
p1,p2,d=find_closest(dist,num,thresh)
df = pd.DataFrame({"p1":p1,"p2":p2,"dist":d})
df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment