code: def write(self, path, arr):
      logging.debug(
          "Writing to %s using CSV format with configuration %s"
          % (path, self.__dict__)
      )
      write_options = pyarrow.csv.WriteOptions(
          include_header=False, delimiter=self.delimiter
      )
      arr = pyarrow.Table.from_pandas(pd.DataFrame(arr))
      pyarrow.csv.write_csv(arr, path, write_options=write_options)
      logging.debug("Done writing to %s" % path)
  
file_path: dgl/tools/distpartitioning/array_readwriter/csv.py
imports: import logging
  import pandas
  import pyarrow
  import pyarrow.csv
  from .registry import register_array_parser
label_desc: Use image node_id 3 for calling the CSVArrayParser obj's underlying member method code with example usage: obj.write(path, arr) without return types