class_docstr: A Dataset Object, used to easily import edgelist data and cuGraph.Graph
  instances.
  
  Parameters
  ----------
  meta_data_file_name : yaml file
      The metadata file for the specific graph dataset, which includes
      information on the name, type, url link, data loading format, graph
      properties
class_docstr_tok: ["A","Dataset","Object",",","used","to","easily","import","edgelist","data","and","cuGraph.Graph","instances",".","Parameters","--","--","--","--","--","meta_data_file_name",":","yaml","file","The","metadata","file","for","the","specific","graph","dataset",",","which","includes","information","on","the","name",",","type",",","url","link",",","data","loading","format",",","graph","properties"]
docstr: Return an Edgelist.
  
  Parameters
  ----------
  download : Boolean (default=False)
      Automatically download the dataset from the 'url' location within
      the YAML file.
  
  reader : 'cudf' or 'pandas' (default='cudf')
      The library used to read a CSV and return an edgelist DataFrame.
docstr_tok: ["Return","an","Edgelist",".","Parameters","--","--","--","--","--","download",":","Boolean","(","default=False",")","Automatically","download","the","dataset","from","the","'url","'","location","within","the","YAML","file",".","reader",":","'cudf","'","or","'pandas","'","(","default='cudf","'",")","The","library","used","to","read","a","CSV","and","return","an","edgelist","DataFrame","."]
code: def get_edgelist(self, download=False, reader="cudf"):
      """
      Return an Edgelist.
  
      Parameters
      ----------
      download : Boolean (default=False)
          Automatically download the dataset from the 'url' location within
          the YAML file.
  
      reader : 'cudf' or 'pandas' (default='cudf')
          The library used to read a CSV and return an edgelist DataFrame.
      """
      if self._edgelist is None:
          full_path = self.get_path()
          if not full_path.is_file():
              if download:
                  full_path = self.__download_csv(self.metadata["url"])
              else:
                  raise RuntimeError(
                      f"The datafile {full_path} does not"
                      " exist. Try setting download=True"
                      " to download the datafile"
                  )
  
          header = None
          if isinstance(self.metadata["header"], int):
              header = self.metadata["header"]
  
          if reader == "cudf":
              self.__reader = cudf.read_csv
          elif reader == "pandas":
              self.__reader = pd.read_csv
          else:
              raise ValueError(
                  "reader must be a module with a read_csv function compatible with \
                       cudf.read_csv"
              )
  
          self._edgelist = self.__reader(
              filepath_or_buffer=full_path,
              delimiter=self.metadata["delim"],
              names=self.metadata["col_names"],
              dtype={
                  self.metadata["col_names"][i]: self.metadata[
                      "col_types"
                  ][i]
                  for i in range(len(self.metadata["col_types"]))
              },
              header=header,
          )
  
      return self._edgelist.copy()
  
imports: import cudf
  import dask_cudf
  import yaml
  import os
  import pandas
  import cugraph.dask
  from pathlib import Path
  import urllib.request
  from cugraph.structure.graph_classes import Graph
label_desc: Use image node_id 5 for calling the Dataset obj's underlying member method code with example usage: obj.get_edgelist(download, reader) and returns: self