code: def _from_data(cls, new_data, name=None, index=False):
      new_column = new_data.columns[0]
      if is_geometry_type(new_column):
          return GeoSeries(new_column, name=name, index=index)
      else:
          return cudf.Series(new_column, name=name, index=index)
  
imports: from typing import Dict, Tuple, TypeVar, Union
  import pandas
  from geopandas import GeoDataFrame
  from geopandas.geoseries import is_geometry_type
  import cudf
  from cudf.core.copy_types import BooleanMask, GatherMap
  from cuspatial.core._column.geocolumn import GeoColumn, GeoMeta
  from cuspatial.core.geoseries import GeoSeries
  from cuspatial.io.geopandas_reader import GeoPandasReader
label_desc: Use image node_id 1 for calling the _GeoSeriesUtility obj's underlying member method code with example usage: obj._from_data(cls, new_data, name, index) and returns: GeoSeries, cudf