class_docstr: A GPU Graph Object (Base class of other graph types)
  
  Parameters
  ----------
  m_graph : cuGraph.MultiGraph object or None (default=None)
      Initialize the graph from a cugraph.MultiGraph object
  directed : boolean, optional (default=False)
      Indicated is the graph is directed.
  
  Examples
  --------
  >>> # undirected graph
  >>> G = cugraph.Graph()
  >>> # directed graph
  >>> G = cugraph.Graph(directed=True)
class_docstr_tok: ["A","GPU","Graph","Object","(","Base","class","of","other","graph","types",")","Parameters","--","--","--","--","--","m_graph",":","cuGraph.MultiGraph","object","or","None","(","default=None",")","Initialize","the","graph","from","a","cugraph.MultiGraph","object","directed",":","boolean",",","optional","(","default=False",")","Indicated","is","the","graph","is","directed",".","Examples","--","--","--","--",">",">",">","#","undirected","graph",">",">",">","G","=","cugraph.Graph","(",")",">",">",">","#","directed","graph",">",">",">","G","=","cugraph.Graph","(","directed=True",")"]
docstr: Initialize a graph from the edge list. It is an error to call this
  method on an initialized Graph object. Source argument is source
  column name and destination argument is destination column name.
  By default, renumbering is enabled to map the source and destination
  vertices into an index in the range [0, V) where V is the number
  of vertices.  If the input vertices are a single column of integers
  in the range [0, V), renumbering can be disabled and the original
  external vertex ids will be used.
  Weights, edge ids, and edge types can be passed through either the
  edge_attr argument or individually as separate keyword arguments.
  All three are optional.
  
  Parameters
  ----------
  pdf : pandas.DataFrame
      A DataFrame that contains edge information
  
  source : str or array-like, optional (default='source')
      Source column name or array of column names
  
  destination : str or array-like, optional (default='destination')
      Destination column name or array of column names
  
  edge_attr : str or List[str], optional (default=None)
      Names of the edge attributes.  Can either be a single string
      representing the weight column name, or a list of length 3
      holding [weight, edge_id, edge_type].  If this argument is
      provided, then the weight/edge_id/edge_type arguments must
      be left empty.
  
  weight : str, optional (default=None)
      Name of the weight column in the input dataframe.
  
  edge_id : str, optional (default=None)
      Name of the edge id column in the input dataframe.
  
  edge_type : str, optional (default=None)
      Name of the edge type column in the input dataframe.
  
  renumber : bool, optional (default=True)
      Indicate whether or not to renumber the source and destination
      vertex IDs.
  
  Examples
  --------
  >>> #  Download dataset from
  >>> #  https://github.com/rapidsai/cugraph/datasets/...
  >>> df = pd.read_csv(datasets_path / 'karate.csv', delimiter=' ',
  ...                  header=None, names=["0", "1", "2"],
  ...                  dtype={"0": "int32", "1": "int32",
  ...                         "2": "float32"})
  >>> G = cugraph.Graph()
  >>> G.from_pandas_edgelist(df, source='0', destination='1',
  ...                        edge_attr='2', renumber=False)
docstr_tok: ["Initialize","a","graph","from","the","edge","list",".","It","is","an","error","to","call","this","method","on","an","initialized","Graph","object",".","Source","argument","is","source","column","name","and","destination","argument","is","destination","column","name",".","By","default",",","renumbering","is","enabled","to","map","the","source","and","destination","vertices","into","an","index","in","the","range","[","0",",","V",")","where","V","is","the","number","of","vertices",".","If","the","input","vertices","are","a","single","column","of","integers","in","the","range","[","0",",","V",")",",","renumbering","can","be","disabled","and","the","original","external","vertex","ids","will","be","used",".","Weights",",","edge","ids",",","and","edge","types","can","be","passed","through","either","the","edge_attr","argument","or","individually","as","separate","keyword","arguments",".","All","three","are","optional",".","Parameters","--","--","--","--","--","pdf",":","pandas.DataFrame","A","DataFrame","that","contains","edge","information","source",":","str","or","array-like",",","optional","(","default='source","'",")","Source","column","name","or","array","of","column","names","destination",":","str","or","array-like",",","optional","(","default='destination","'",")","Destination","column","name","or","array","of","column","names","edge_attr",":","str","or","List","[","str","]",",","optional","(","default=None",")","Names","of","the","edge","attributes",".","Can","either","be","a","single","string","representing","the","weight","column","name",",","or","a","list","of","length","3","holding","[","weight",",","edge_id",",","edge_type","]",".","If","this","argument","is","provided",",","then","the","weight\/edge_id\/edge_type","arguments","must","be","left","empty",".","weight",":","str",",","optional","(","default=None",")","Name","of","the","weight","column","in","the","input","dataframe",".","edge_id",":","str",",","optional","(","default=None",")","Name","of","the","edge","id","column","in","the","input","dataframe",".","edge_type",":","str",",","optional","(","default=None",")","Name","of","the","edge","type","column","in","the","input","dataframe",".","renumber",":","bool",",","optional","(","default=True",")","Indicate","whether","or","not","to","renumber","the","source","and","destination","vertex","IDs",".","Examples","--","--","--","--",">",">",">","#","Download","dataset","from",">",">",">","#","https",":","\/\/github.com\/rapidsai\/cugraph\/datasets\/","...",">",">",">","df","=","pd.read_csv","(","datasets_path","\/","'karate.csv","'",",","delimiter=","'","'",",","...","header=None",",","names=","[","``","0","''",",","``","1","''",",","``","2","''","]",",","...","dtype=","{","``","0","''",":","``","int32","''",",","``","1","''",":","``","int32","''",",","...","``","2","''",":","``","float32","''","}",")",">",">",">","G","=","cugraph.Graph","(",")",">",">",">","G.from_pandas_edgelist","(","df",",","source=","'","0","'",",","destination=","'","1","'",",","...","edge_attr=","'","2","'",",","renumber=False",")"]
code: def from_pandas_edgelist(
      self,
      pdf,
      source="source",
      destination="destination",
      edge_attr=None,
      weight=None,
      edge_id=None,
      edge_type=None,
      renumber=True,
  ):
      """
      Initialize a graph from the edge list. It is an error to call this
      method on an initialized Graph object. Source argument is source
      column name and destination argument is destination column name.
      By default, renumbering is enabled to map the source and destination
      vertices into an index in the range [0, V) where V is the number
      of vertices.  If the input vertices are a single column of integers
      in the range [0, V), renumbering can be disabled and the original
      external vertex ids will be used.
      Weights, edge ids, and edge types can be passed through either the
      edge_attr argument or individually as separate keyword arguments.
      All three are optional.
  
      Parameters
      ----------
      pdf : pandas.DataFrame
          A DataFrame that contains edge information
  
      source : str or array-like, optional (default='source')
          Source column name or array of column names
  
      destination : str or array-like, optional (default='destination')
          Destination column name or array of column names
  
      edge_attr : str or List[str], optional (default=None)
          Names of the edge attributes.  Can either be a single string
          representing the weight column name, or a list of length 3
          holding [weight, edge_id, edge_type].  If this argument is
          provided, then the weight/edge_id/edge_type arguments must
          be left empty.
  
      weight : str, optional (default=None)
          Name of the weight column in the input dataframe.
  
      edge_id : str, optional (default=None)
          Name of the edge id column in the input dataframe.
  
      edge_type : str, optional (default=None)
          Name of the edge type column in the input dataframe.
  
      renumber : bool, optional (default=True)
          Indicate whether or not to renumber the source and destination
          vertex IDs.
  
      Examples
      --------
      >>> #  Download dataset from
      >>> #  https://github.com/rapidsai/cugraph/datasets/...
      >>> df = pd.read_csv(datasets_path / 'karate.csv', delimiter=' ',
      ...                  header=None, names=["0", "1", "2"],
      ...                  dtype={"0": "int32", "1": "int32",
      ...                         "2": "float32"})
      >>> G = cugraph.Graph()
      >>> G.from_pandas_edgelist(df, source='0', destination='1',
      ...                        edge_attr='2', renumber=False)
  
      """
      if not isinstance(pdf, pd.core.frame.DataFrame):
          raise TypeError("pdf input is not a Pandas DataFrame")
  
      gdf = cudf.DataFrame.from_pandas(pdf)
      self.from_cudf_edgelist(
          gdf,
          source=source,
          destination=destination,
          edge_attr=edge_attr,
          weight=weight,
          edge_id=edge_id,
          edge_type=edge_type,
          renumber=renumber,
      )
  
imports: import numpy
  from .graph_implementation import simpleGraphImpl, simpleDistributedGraphImpl, npartiteGraphImpl
  import cudf
  import dask_cudf
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 7 for calling the Graph obj's underlying member method code with example usage: obj.from_pandas_edgelist(pdf, source, destination, edge_attr, weight, edge_id, edge_type, renumber) without return types