code: def convert_UvS_to_np_as_Series(
      obj: pd.Series, store=None
  ) -> np.ndarray:
      if not isinstance(obj, pd.Series):
          raise TypeError("input must be a pd.Series")
  
      obj = _coerce_df_dtypes(obj)
  
      if isinstance(store, dict):
          store["index"] = obj.index
          store["name"] = obj.name
  
      return pd.DataFrame(obj).to_numpy(dtype="float")
  
file_path: sktime/sktime/datatypes/_series/_convert.py
imports: import numpy
  import pandas
  from sktime.datatypes._convert_utils._coerce import _coerce_df_dtypes
  from sktime.datatypes._convert_utils._convert import _extend_conversions
  from sktime.datatypes._registry import MTYPE_LIST_SERIES
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 5 for calling a global function with example usage: convert_UvS_to_np_as_Series(obj, store) and returns: pd