class_docstr: A GPU GeoDataFrame object.
class_docstr_tok: ["A","GPU","GeoDataFrame","object","."]
docstr: Constructs a GPU GeoDataFrame from a GeoPandas dataframe.
  
  Parameters
  ----------
  data : A geopandas.GeoDataFrame object, a cudf.DataFrame object,
  or a dictionary of objects that can be converted to a GeoDataFrame.
docstr_tok: ["Constructs","a","GPU","GeoDataFrame","from","a","GeoPandas","dataframe",".","Parameters","--","--","--","--","--","data",":","A","geopandas.GeoDataFrame","object",",","a","cudf.DataFrame","object",",","or","a","dictionary","of","objects","that","can","be","converted","to","a","GeoDataFrame","."]
code: def __init__(
      self, data: Union[Dict, gpGeoDataFrame, cudf.DataFrame] = None
  ):
      """
      Constructs a GPU GeoDataFrame from a GeoPandas dataframe.
  
      Parameters
      ----------
      data : A geopandas.GeoDataFrame object, a cudf.DataFrame object,
      or a dictionary of objects that can be converted to a GeoDataFrame.
      """
      super().__init__()
      if isinstance(data, (gpGeoDataFrame, cudf.DataFrame)):
          self.index = data.index
          for col in data.columns:
              if is_geometry_type(data[col]):
                  adapter = GeoPandasReader(data[col])
                  pandas_meta = GeoMeta(adapter.get_geopandas_meta())
                  column = GeoColumn(
                      adapter._get_geotuple(), pandas_meta
                  )
                  self._data[col] = column
              else:
                  self._data[col] = data[col]
      elif isinstance(data, dict):
          for key in data.keys():
              try:
                  data[key] = GeoSeries(data[key])
              except TypeError:
                  pass
          super()._init_from_dict_like(
              data, index=self.index if len(self.index) > 0 else None
          )
      elif data is None:
          pass
      else:
          raise ValueError("Invalid type passed to GeoDataFrame ctor")
  
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 to create a new GeoDataFrame object from inherited base classes: cudf with example: obj = GeoDataFrame(data)