code: def get_series_cons(engine: Engine, dtype="int32"):
      if engine == Engine.PANDAS:
          return pd.Series
  
      if engine == Engine.DASK:
          import dask.dataframe
  
          return dask.dataframe.Series
  
      if engine == Engine.CUDF:
          import cudf
  
          return cudf.Series
  
      if engine == Engine.DASK_CUDF:
          import dask_cudf
  
          return dask_cudf.Series
  
      raise NotImplementedError("Unknown engine")
  
imports: from typing import TYPE_CHECKING, Any, Dict, List, Optional
  from .Engine import Engine, DataframeLike, DataframeLocalLike
  import numpy, pandas, pyarrow, sys
  from .util import setup_logger
label_desc: Use image node_id 9 for calling a global function with example usage: get_series_cons(engine, dtype) and returns: pd, dask, cudf, dask_cudf