code: def extract_y_labels(input_path):
      """
      Extract only the Labels of the data
  
      Args:
          input_path (str): read csv file from this local file path
  
      Returns:
          :obj:`np.ndarray`: A numpy array of the labels, each item is the label of the row
      """
      reader_list = read_csv_file_data(input_path)
      Y_labels_vec = []
      cntr = 0
      for line in reader_list:
          Y_label = line[-1]
          Y_labels_vec.insert(cntr, Y_label)
          cntr += 1
      y_train = Y_labels_vec
      y_train = numpy.array(y_train, dtype=numpy.int32)
      return y_train
  
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 9 for calling a global function with example usage: extract_y_labels(input_path) and returns: y_train