code: def convert_1D_to_2D_numpy_as_Table(
      obj: np.ndarray, store=None
  ) -> np.ndarray:
      if not isinstance(obj, np.ndarray):
          raise TypeError("input must be a np.ndarray")
  
      if len(obj.shape) == 1:
          res = np.reshape(obj, (-1, 1))
      else:
          raise TypeError("input must be 1D np.ndarray")
  
      return res
  
file_path: sktime/sktime/datatypes/_table/_convert.py
imports: import numpy
  import pandas
  from sktime.datatypes._convert_utils._convert import _extend_conversions
  from sktime.datatypes._table._registry import MTYPE_LIST_TABLE
label_desc: Use image node_id 2 for calling a global function with example usage: convert_1D_to_2D_numpy_as_Table(obj, store) and returns: res