code: def convert_text(data):
      dtype = get_type(data)
      if dtype in ["list_str", "str"]:
          data = np.array(data).reshape(-1, 1)
      return data
  
imports: import functools
  import sys
  import numpy
  import copy
  from scipy.interpolate import PchipInterpolator
  import seaborn
  import itertools
  import pandas
  from matplotlib.lines import Line2D
label_desc: Use image node_id 15 for calling a global function with example usage: convert_text(data) and returns: data