code: def test_getitem_lines():
      p0 = LineString([[1, 2], [3, 4]])
      p1 = LineString([[1, 2], [3, 4], [5, 6], [7, 8]])
      p2 = LineString([[1, 2], [3, 4], [5, 6]])
      gps = gpd.GeoSeries([p0, p1, p2])
      cus = cuspatial.from_geopandas(gps).to_pandas()
      assert_eq_linestring(cus[0], p0)
      assert_eq_linestring(cus[1], p1)
      assert_eq_linestring(cus[2], p2)
  
imports: from enum import Enum
  from numbers import Integral
  import cupy
  import geopandas
  import numpy
  import pandas
  import pytest
  from geopandas.testing import assert_geoseries_equal
  from shapely.affinity import rotate
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  from cudf.testing import assert_series_equal
  import cuspatial
label_desc: Use image node_id 17 for calling a global function with example usage: test_getitem_lines() without return types