code: def test_concat_axis1_geoseries(self):
      gseries2 = GeoSeries(
          [Point(i, i) for i in range(3, 6)], crs="epsg:4326"
      )
      result = pd.concat([gseries2, self.gseries], axis=1)
      # Note this is not consistent with concat([gdf, gdf], axis=1) where the
      # left metadata is set on the result. This is deliberate for now.
      assert type(result) is GeoDataFrame
      assert result._geometry_column_name is None
      assert_index_equal(pd.Index([0, 1]), result.columns)
  
      gseries2.name = "foo"
      result2 = pd.concat([gseries2, self.gseries], axis=1)
      assert type(result2) is GeoDataFrame
      assert result._geometry_column_name is None
      assert_index_equal(pd.Index(["foo", 0]), result2.columns)
  
file_path: geopandas/geopandas/tests/test_merge.py
imports: import warnings
  import pandas
  import pyproj
  import pytest
  from geopandas._compat import PANDAS_GE_21
  from geopandas.testing import assert_geodataframe_equal
  from pandas.testing import assert_index_equal
  from shapely.geometry import Point
  from geopandas import GeoDataFrame, GeoSeries
label_desc: Use image node_id 10 for calling the TestMerging obj's underlying member method code with example usage: obj.test_concat_axis1_geoseries() without return types