code: def reverse(self):
          
          return Geometry(shapely.ops.transform(lambda x, y: (y, x), self.geometry), crs=self.crs)
docs: Returns a new Geometry object where x and y coordinates are switched
  
          :return: New Geometry object with switched coordinates
          :rtype: Geometry