code: def convert_to_list_like(
      values: Hashable | Iterable | AnyArrayLike,
  ) -> list | AnyArrayLike:
      """
      Convert list-like or scalar input to list-like. List, numpy and pandas array-like
      inputs are returned unmodified whereas others are converted to list.
      """
      if isinstance(
          values,
          (list, np.ndarray, ABCIndex, ABCSeries, ABCExtensionArray),
      ):
          return values
      elif isinstance(values, abc.Iterable) and not isinstance(
          values, str
      ):
          return list(values)
  
      return [values]
  
imports: from __future__ import annotations
  import builtins
  from collections import abc, defaultdict
  from collections.abc import Collection, Generator, Hashable, Iterable, Sequence
  import contextlib
  from functools import partial
  import inspect
  from typing import TYPE_CHECKING, Any, Callable, TypeVar, cast, overload
  import warnings
  import numpy
  from pandas._libs import lib
  from pandas.compat.numpy import np_version_gte1p24
  from pandas.core.dtypes.cast import construct_1d_object_array_from_listlike
  from pandas.core.dtypes.common import is_bool_dtype, is_integer
  from pandas.core.dtypes.generic import ABCExtensionArray, ABCIndex, ABCMultiIndex, ABCSeries
  from pandas.core.dtypes.inference import iterable_not_string
label_desc: Use image node_id 31 for calling a global function with example usage: convert_to_list_like(values) and returns: list, values, list