code: def convert_1Dnp_to_df_as_Table(
      obj: np.ndarray, store=None
  ) -> pd.DataFrame:
      if not isinstance(obj, np.ndarray) and len(obj.shape) != 1:
          raise TypeError("input must be a 1D np.ndarray")
  
      obj = np.reshape(obj, (-1, 1))
  
      if (
          isinstance(store, dict)
          and "columns" in store.keys()
          and len(store["columns"]) == obj.shape[1]
      ):
          res = pd.DataFrame(obj, columns=store["columns"])
      else:
          res = pd.DataFrame(obj)
  
      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 7 for calling a global function with example usage: convert_1Dnp_to_df_as_Table(obj, store) and returns: res