class_docstr: Client object for cugraph_service, which defines the API that clients can
  use to access the cugraph_service server.
class_docstr_tok: ["Client","object","for","cugraph_service",",","which","defines","the","API","that","clients","can","use","to","access","the","cugraph_service","server","."]
docstr: Reads csv_file_name and applies it as edge data to the graph identified
  as graph_id (or the default graph if not specified).
  
  Parameters
  ----------
  csv_file_name : string
      Path to CSV file on the server
  
  dtypes : list of strings
      Types for the columns in the CSV file
  
  vertex_col_names : tuple of strings
      Names of the columns to use as the source and destination vertex
      IDs defining the edges
  
  delimiter : string, default is " "
      Character that serves as the delimiter between columns in the CSV
  
  header : int, default is None
      Row number to use as the column names. Default behavior is to
      assume column names are explicitely provided (header=None).
      header="infer" if the column names are to be inferred. If no names
      are passed, header=0. See also cudf.read_csv
  
  type_name : string, default is ""
      The edge property "type" the CSV data is describing. For instance,
      CSV data describing properties for "transactions" might pass
      type_name as "transaction". An edge property type is optional.
  
  property_columns : list of strings, default is None
      The column names in the CSV to add as edge properties. If None, all
      columns will be added as properties.
  
  edge_id_col_name : string, optional
      The column name that contains the values to be used as edge IDs.
      If unspecified, edge IDs will be automatically assigned.
      Currently, all edge data must be added with the same method: either
      with automatically generated IDs, or from user-provided edge IDs.
  
  graph_id : int, default is defaults.graph_id
      The graph ID to apply the properties in the CSV to. If not provided
      the default graph ID is used.
  
  names: list of strings, default is None
      The names to be used to reference the CSV columns, in lieu of a
      header.
  
  Returns
  -------
  None
  
  Examples
  --------
  >>> from cugraph_service_client import CugraphServiceClient
  >>> client = CugraphServiceClient()
  >>> client.load_csv_as_edge_data(
  ... "/server/path/to/edge_data.csv",
  ... dtypes=["int32", "int32", "string", "int32"],
  ... vertex_col_names=("src", "dst"),
  ... header="infer")
  >>>
docstr_tok: ["Reads","csv_file_name","and","applies","it","as","edge","data","to","the","graph","identified","as","graph_id","(","or","the","default","graph","if","not","specified",")",".","Parameters","--","--","--","--","--","csv_file_name",":","string","Path","to","CSV","file","on","the","server","dtypes",":","list","of","strings","Types","for","the","columns","in","the","CSV","file","vertex_col_names",":","tuple","of","strings","Names","of","the","columns","to","use","as","the","source","and","destination","vertex","IDs","defining","the","edges","delimiter",":","string",",","default","is","``","``","Character","that","serves","as","the","delimiter","between","columns","in","the","CSV","header",":","int",",","default","is","None","Row","number","to","use","as","the","column","names",".","Default","behavior","is","to","assume","column","names","are","explicitely","provided","(","header=None",")",".","header=","''","infer","''","if","the","column","names","are","to","be","inferred",".","If","no","names","are","passed",",","header=0",".","See","also","cudf.read_csv","type_name",":","string",",","default","is","``","''","The","edge","property","``","type","''","the","CSV","data","is","describing",".","For","instance",",","CSV","data","describing","properties","for","``","transactions","''","might","pass","type_name","as","``","transaction","''",".","An","edge","property","type","is","optional",".","property_columns",":","list","of","strings",",","default","is","None","The","column","names","in","the","CSV","to","add","as","edge","properties",".","If","None",",","all","columns","will","be","added","as","properties",".","edge_id_col_name",":","string",",","optional","The","column","name","that","contains","the","values","to","be","used","as","edge","IDs",".","If","unspecified",",","edge","IDs","will","be","automatically","assigned",".","Currently",",","all","edge","data","must","be","added","with","the","same","method",":","either","with","automatically","generated","IDs",",","or","from","user-provided","edge","IDs",".","graph_id",":","int",",","default","is","defaults.graph_id","The","graph","ID","to","apply","the","properties","in","the","CSV","to",".","If","not","provided","the","default","graph","ID","is","used",".","names",":","list","of","strings",",","default","is","None","The","names","to","be","used","to","reference","the","CSV","columns",",","in","lieu","of","a","header",".","Returns","--","--","--","-","None","Examples","--","--","--","--",">",">",">","from","cugraph_service_client","import","CugraphServiceClient",">",">",">","client","=","CugraphServiceClient","(",")",">",">",">","client.load_csv_as_edge_data","(","...","``","\/server\/path\/to\/edge_data.csv","''",",","...","dtypes=","[","``","int32","''",",","``","int32","''",",","``","string","''",",","``","int32","''","]",",","...","vertex_col_names=","(","``","src","''",",","``","dst","''",")",",","...","header=","''","infer","''",")",">",">",">"]
code: def load_csv_as_edge_data(
      self,
      csv_file_name,
      dtypes,
      vertex_col_names,
      delimiter=" ",
      header=None,
      type_name="",
      property_columns=None,
      edge_id_col_name=None,
      graph_id=defaults.graph_id,
      names=None,
  ):
      """
      Reads csv_file_name and applies it as edge data to the graph identified
      as graph_id (or the default graph if not specified).
  
      Parameters
      ----------
      csv_file_name : string
          Path to CSV file on the server
  
      dtypes : list of strings
          Types for the columns in the CSV file
  
      vertex_col_names : tuple of strings
          Names of the columns to use as the source and destination vertex
          IDs defining the edges
  
      delimiter : string, default is " "
          Character that serves as the delimiter between columns in the CSV
  
      header : int, default is None
          Row number to use as the column names. Default behavior is to
          assume column names are explicitely provided (header=None).
          header="infer" if the column names are to be inferred. If no names
          are passed, header=0. See also cudf.read_csv
  
      type_name : string, default is ""
          The edge property "type" the CSV data is describing. For instance,
          CSV data describing properties for "transactions" might pass
          type_name as "transaction". An edge property type is optional.
  
      property_columns : list of strings, default is None
          The column names in the CSV to add as edge properties. If None, all
          columns will be added as properties.
  
      edge_id_col_name : string, optional
          The column name that contains the values to be used as edge IDs.
          If unspecified, edge IDs will be automatically assigned.
          Currently, all edge data must be added with the same method: either
          with automatically generated IDs, or from user-provided edge IDs.
  
      graph_id : int, default is defaults.graph_id
          The graph ID to apply the properties in the CSV to. If not provided
          the default graph ID is used.
  
      names: list of strings, default is None
          The names to be used to reference the CSV columns, in lieu of a
          header.
  
      Returns
      -------
      None
  
      Examples
      --------
      >>> from cugraph_service_client import CugraphServiceClient
      >>> client = CugraphServiceClient()
      >>> client.load_csv_as_edge_data(
      ... "/server/path/to/edge_data.csv",
      ... dtypes=["int32", "int32", "string", "int32"],
      ... vertex_col_names=("src", "dst"),
      ... header="infer")
      >>>
      """
      # Map all int arg types that also have string options to ints
      # FIXME: check for invalid header arg values
      if header == "infer":
          header = -1
      elif header is None:
          header = -2
      return self.__client.load_csv_as_edge_data(
          csv_file_name,
          delimiter,
          dtypes,
          header,
          vertex_col_names,
          type_name,
          property_columns or [],
          graph_id,
          names or [],
          edge_id_col_name or "",
      )
  
imports: from cugraph_service_client.remote_graph_utils import import_optional, MissingModule
  import numpy
  from functools import wraps
  from collections.abc import Sequence
  import pickle
  import ucp
  import asyncio
  import threading
  from cugraph_service_client import defaults
  from cugraph_service_client.remote_graph import RemoteGraph
  from cugraph_service_client import extension_return_dtype_map
  from cugraph_service_client.types import ValueWrapper, GraphVertexEdgeID, UniformNeighborSampleResult
  from cugraph_service_client.cugraph_service_thrift import create_client
label_desc: Use image node_id 19 for calling the CugraphServiceClient obj's underlying member method code with example usage: obj.load_csv_as_edge_data(csv_file_name, dtypes, vertex_col_names, delimiter, header, type_name, property_columns, edge_id_col_name, graph_id, names) and returns: self