code: def _create_df(x, y=None, crs=None):
      y = y or x
      x = np.asarray(x)
      y = np.asarray(y)
  
      return GeoDataFrame(
          {
              "geometry": points_from_xy(x, y),
              "value1": x + y,
              "value2": x * y,
          },
          crs=crs,
      )
  
imports: import random
  import warnings
  import numpy
  import pandas
  import pyproj
  import pytest
  from shapely.geometry import Point, Polygon, LineString
  from geopandas import GeoSeries, GeoDataFrame, points_from_xy, read_file
  from geopandas.array import from_shapely, from_wkb, from_wkt, GeometryArray
  from geopandas.testing import assert_geodataframe_equal
label_desc: Use image node_id 1 for calling a global function with example usage: _create_df(x, y, crs) and returns: GeoDataFrame