code: def _convert_to_multidim(x):
      if any([isinstance(x, list), isinstance(x, tuple)]):
          return np.array(x)
      elif isinstance(x, np.ndarray):
          return x
      else:
          # something strange was passed and the function probably
          # will fall, maybe insert an exception?
          return x
  
file_path: statsmodels/statsmodels/stats/moment_helpers.py
imports: import numpy
  from scipy.special import comb
label_desc: Use image node_id 1 for calling a global function with example usage: _convert_to_multidim(x) and returns: np, x, x