code: def area(geometry, **kwargs):
      """Computes the area of a (multi)polygon.
  
      Parameters
      ----------
      geometry : Geometry or array_like
      **kwargs
          See :ref:`NumPy ufunc docs <ufuncs.kwargs>` for other keyword arguments.
  
      Examples
      --------
      >>> from shapely import MultiPolygon, Polygon
      >>> polygon = Polygon([(0, 0), (0, 10), (10, 10), (10, 0), (0, 0)])
      >>> area(polygon)
      100.0
      >>> area(MultiPolygon([polygon, Polygon([(10, 10), (10, 20), (20, 20), (20, 10), (10, 10)])]))
      200.0
      >>> area(Polygon())
      0.0
      >>> area(None)
      nan
      """
      return lib.area(geometry, **kwargs)
  
file_path: shapely/shapely/measurement.py
imports: import warnings
  import numpy
  from shapely import lib
  from shapely.decorators import multithreading_enabled
label_desc: Use image node_id 1 for calling a global function with example usage: area(geometry) and returns: lib