code: def atleast_2dcols(x):
      x = np.asarray(x)
      if x.ndim == 1:
          x = x[:, None]
      return x
  
file_path: statsmodels/statsmodels/regression/feasible_gls.py
imports: import numpy
  from statsmodels.regression.linear_model import OLS, GLS, WLS
label_desc: Use image node_id 1 for calling a global function with example usage: atleast_2dcols(x) and returns: x