code: def _get_envelopes_centroid(envelopes):
      
      xmin, xmax, ymin, ymax = _get_envelopes_min_maxes(envelopes)
      return np.mean(xmin, xmax), np.mean(ymin, ymax)
docs: Returns the centroid of an inputted geometry column. Not currently in use, as this is now handled by this
      library's CRS wrapper directly. Light wrapper over ``_get_envelopes_min_maxes``.
  
      Parameters
      ----------
      envelopes : GeoSeries
          The envelopes of the given geometries, as would be returned by e.g. ``data.geometry.envelope``.
  
      Returns
      -------
      (mean_x, mean_y) : tuple
          The data centroid.