code: def write_data(self, data_path):
      table = csv.read_csv(data_path)
      descriptor = self.get_descriptor(data_path)
      writer, _ = self.arrow_client.do_put(descriptor, table.schema)
      writer.write_table(table)
      writer.close()
      return table
  
file_path: TabPy/tests/integration/test_arrow_server.py
imports: import unittest
  import threading
  import _thread
  import pyarrow
  import os
  import pyarrow.csv
  from tabpy.tabpy_server.app.arrow_server import FlightServer
  import tabpy.tabpy_server.app.arrow_server
label_desc: Use image node_id 5 for calling the TestArrowServer obj's underlying member method code with example usage: obj.write_data(data_path) and returns: table