code: def test_constructor_sliced_row_slices(df2, column_set):
      # https://github.com/geopandas/geopandas/issues/2282
      df_subset = df2[column_set]
      assert isinstance(df_subset, GeoDataFrame)
      res = df_subset.loc[0]
      # row slices shouldn't be GeoSeries, even if they have a geometry col
      assert type(res) == pd.Series
      if "geometry" in column_set:
          assert not isinstance(res.geometry, pd.Series)
          assert res.geometry == Point(0, 0)
  
imports: import pandas
  import pyproj
  import pytest
  from shapely.geometry import Point
  import numpy
  from geopandas import GeoDataFrame, GeoSeries
  from geopandas.testing import assert_geodataframe_equal
label_desc: Use image node_id 19 for calling a global function with example usage: test_constructor_sliced_row_slices(df2, column_set) without return types