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 vertex 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_name : string
      Name of the column to use as the vertex ID
  
  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 vertex property "type" the CSV data is describing. For
      instance, CSV data describing properties for "users" might pass
      type_name as "user". A vertex property type is optional.
  
  property_columns : list of strings, default is None
      The column names in the CSV to add as vertex properties. If None,
      all columns will be added as properties.
  
  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_vertex_data(
  ... "/server/path/to/vertex_data.csv",
  ... dtypes=["int32", "string", "int32"],
  ... vertex_col_name="vertex_id",
  ... header="infer")
  >>>
docstr_tok: ["Reads","csv_file_name","and","applies","it","as","vertex","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_name",":","string","Name","of","the","column","to","use","as","the","vertex","ID","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","vertex","property","``","type","''","the","CSV","data","is","describing",".","For","instance",",","CSV","data","describing","properties","for","``","users","''","might","pass","type_name","as","``","user","''",".","A","vertex","property","type","is","optional",".","property_columns",":","list","of","strings",",","default","is","None","The","column","names","in","the","CSV","to","add","as","vertex","properties",".","If","None",",","all","columns","will","be","added","as","properties",".","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_vertex_data","(","...","``","\/server\/path\/to\/vertex_data.csv","''",",","...","dtypes=","[","``","int32","''",",","``","string","''",",","``","int32","''","]",",","...","vertex_col_name=","''","vertex_id","''",",","...","header=","''","infer","''",")",">",">",">"]
code: def load_csv_as_vertex_data(
      self,
      csv_file_name,
      dtypes,
      vertex_col_name,
      delimiter=" ",
      header=None,
      type_name="",
      property_columns=None,
      graph_id=defaults.graph_id,
      names=None,
  ):
      """
      Reads csv_file_name and applies it as vertex 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_name : string
          Name of the column to use as the vertex ID
  
      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 vertex property "type" the CSV data is describing. For
          instance, CSV data describing properties for "users" might pass
          type_name as "user". A vertex property type is optional.
  
      property_columns : list of strings, default is None
          The column names in the CSV to add as vertex properties. If None,
          all columns will be added as properties.
  
      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_vertex_data(
      ... "/server/path/to/vertex_data.csv",
      ... dtypes=["int32", "string", "int32"],
      ... vertex_col_name="vertex_id",
      ... 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_vertex_data(
          csv_file_name,
          delimiter,
          dtypes,
          header,
          vertex_col_name,
          type_name,
          property_columns or [],
          graph_id,
          names 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 18 for calling the CugraphServiceClient obj's underlying member method code with example usage: obj.load_csv_as_vertex_data(csv_file_name, dtypes, vertex_col_name, delimiter, header, type_name, property_columns, graph_id, names) and returns: self