code: def to_pandas_edgelist(G, source="src", destination="dst"):
      """
      Returns the graph edge list as a Pandas DataFrame.
  
      Parameters
      ----------
      G : cugraph.Graph
          Graph containing the edgelist.
  
      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
  
      Returns
      -------
      df : pandas.DataFrame
          pandas dataframe containing the edgelist as source and
          destination columns.
      """
      pdf = G.to_pandas_edgelist(source=source, destination=destination)
      return pdf
  
file_path: cugraph/python/cugraph/cugraph/structure/convert_matrix.py
imports: import cudf
  import dask_cudf
  from cugraph.structure.graph_classes import Graph
label_desc: Use image node_id 5 for calling a global function with example usage: to_pandas_edgelist(G, source, destination) and returns: pdf