code: def geo_perimeter(arg, use_spheroid=None):
      
      op = ops.GeoPerimeter(arg, use_spheroid)
      return op.to_expr()
docs: Compute perimeter of a geo spatial data
  
      Parameters
      ----------
      arg : geometry or geography
      use_spheroid : default None
  
      Returns
      -------
      perimeter : double scalar