title: How to calculate distance using geopandas
body: <p>I wanted to calculate the distance from Manila to cities in the Philippines using geopandas GeoSeries.distance(self, other) function.</p>
  <p>Steps:</p>
  <pre class="lang-py prettyprint-override"><code># So I start with the dataset, which should produce a geopandas dataframe consisting basically of cities and a polygon of its boundaries in latlong.
  
  url = 'https://raw.githubusercontent.com/macoymejia/geojsonph/master/MuniCities/MuniCities.minimal.json'
  df1 = gpd.read_file(url)
  
  # then I define a centroid column
  df1['Centroid'] = df1.geometry.centroid
  
  # then I define Manila location as a shapely point geometry, which produces a DataFrame with point geometry and address as columns
  manila_loc = gpd.tools.geocode('Manila')
  
  # then I try to calculate the distance
  df1.Centroid.distance(manila_loc.geometry)
  
  </code></pre>
  <p>But I'm getting this error:</p>
  <pre class="lang-py prettyprint-override"><code>AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-30-76585915942f&gt; in &lt;module&gt;
  ----&gt; 1 df1.Centroid.distance(manila_loc.geometry)
  
  ~/opt/anaconda3/envs/Coursera/lib/python3.8/site-packages/pandas/core/generic.py in __getattr__(self, name)
     5137             if self._info_axis._can_hold_identifiers_and_holds_name(name):
     5138                 return self[name]
  -&gt; 5139             return object.__getattribute__(self, name)
     5140 
     5141     def __setattr__(self, name: str, value) -&gt; None:
  
  AttributeError: 'Series' object has no attribute 'distance'
  </code></pre>
  <p>I'm new to GeoPandas but I thought from the documentation that distance method can act on GeoSeries and that df1.Centroid and manila.geometry are valid shapely geometry objects. So I don't know what I am missing. Help pls.</p>