code: def test_sjoin_inner(world, cities):
      # GH637
      countries = world[["geometry", "name"]]
      countries = countries.rename(columns={"name": "country"})
      cities_with_country = sjoin(
          cities, countries, how="inner", predicate="intersects"
      )
      assert cities_with_country.shape == (213, 4)
  
imports: import math
  from typing import Sequence
  import numpy
  import pandas
  import shapely
  from shapely.geometry import Point, Polygon, GeometryCollection
  import geopandas
  import geopandas._compat
  from geopandas import GeoDataFrame, GeoSeries, read_file, sjoin, sjoin_nearest
  from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal
  from pandas.testing import assert_frame_equal, assert_series_equal
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_sjoin_inner(world, cities) without return types