code: def generate_test_df():
      world = read_file(_NATURALEARTH_LOWRES)
      capitals = read_file(_NATURALEARTH_CITIES)
      countries = world.to_crs("epsg:3395")[["geometry"]]
      capitals = capitals.to_crs("epsg:3395")[["geometry"]]
      mixed = capitals.append(countries)  # get a mix of geometries
      points = capitals
      polygons = countries
      # filter out invalid geometries
      data = {
          "mixed": mixed[mixed.is_valid],
          "points": points[points.is_valid],
          "polygons": polygons[polygons.is_valid],
      }
      # ensure index is pre-generated
      for data_type in data.keys():
          data[data_type].sindex.query(
              data[data_type].geometry.values[0]
          )
      return data
  
file_path: geopandas/benchmarks/sindex.py
imports: from shapely.geometry import Point
  from geopandas.tests.util import _NATURALEARTH_LOWRES
  from geopandas.tests.util import _NATURALEARTH_CITIES
  from geopandas import read_file, GeoSeries
label_desc: Use image node_id 1 for calling a global function with example usage: generate_test_df() and returns: data