title: Average data points within a range of each other?
body: <p>I have a Pandas data frame with the following columns:</p>
  
  <pre><code>lat1    lon1    lat2    lon2
  </code></pre>
  
  <p><code>lat</code> and <code>lon</code> variables are latitude and longitude in degrees. Many of the points are very, very close to each other. I want to divide this dataframe up in 'clusters, for example, group all data points that are within 60 feet of each other together. I know I can use <code>geopy.distance.vincenty</code> to get the distance between the points. But I'm not sure how I would go about cycling through the dataframe to cluster points based on distance from each other.</p>