code: def write_to_csv(output, np_feature_vectors, np_dic, np_list):
      """
      Write data to csv file
  
      Args:
          output (str): output file path
          np_feature_vectors (:obj:`np.ndarray`): numpy vectors
          np_dic (dict): dict, keys: the noun phrase, value: the features
          np_list (list): features list
      """
      with open(output, "w", encoding="utf-8") as out_file:
          writer = csv.writer(out_file, delimiter=",", quotechar='"')
          print("prepared data CSV file is saved in {0}".format(output))
          for i, _ in enumerate(np_feature_vectors):
              np_vector = np_feature_vectors[i]
              np_vector = numpy.append(np_vector, np_dic[np_list[i]])
              writer.writerow(np_vector)
  
imports: import argparse
  import csv
  import math
  import os
  from multiprocessing import Pool
  import feature_extraction
  import numpy
  from tqdm import tqdm
  from nlp_architect.utils.io import validate_existing_filepath, validate_parent_exists, validate_proxy_path
label_desc: Use image node_id 6 for calling a global function with example usage: write_to_csv(output, np_feature_vectors, np_dic, np_list) without return types