code: def bounds(geometry, **kwargs):
      """Computes the bounds (extent) of a geometry.
  
      For each geometry these 4 numbers are returned: min x, min y, max x, max y.
  
      Parameters
      ----------
      geometry : Geometry or array_like
      **kwargs
          See :ref:`NumPy ufunc docs <ufuncs.kwargs>` for other keyword arguments.
  
      Examples
      --------
      >>> from shapely import LineString, Point, Polygon
      >>> bounds(Point(2, 3)).tolist()
      [2.0, 3.0, 2.0, 3.0]
      >>> bounds(LineString([(0, 0), (0, 2), (3, 2)])).tolist()
      [0.0, 0.0, 3.0, 2.0]
      >>> bounds(Polygon()).tolist()
      [nan, nan, nan, nan]
      >>> bounds(None).tolist()
      [nan, nan, nan, nan]
      """
      return lib.bounds(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 3 for calling a global function with example usage: bounds(geometry) and returns: lib