Calculating the distance between points in different data frames
问题 I am trying to find the distance between points in two different data frames given that they have the same value in one of their columns. I figure the first step is to join or relate the data in the two data frames. For example there is dataframe A and B which both have lat/long information in them and they share the column Name . Note that for a given Name the lat/long information is different in each dataframe. Thats why I want to calculate the distance between them. I envision the final