code: def make_2d(array, verbose=True):
      
      array = np.asarray(array)
      if array.ndim < 2:
          msg = 'Expected 2D input data array, but found {}D. '\
                'Expanding to 2D.'.format(array.ndim)
          if verbose:
              warnings.warn(msg)
          array = np.atleast_1d(array)[:,None]
      return array
docs: tiny tool to expand 1D arrays the way i want
  
      Parameters
      ----------
      array : array-like
  
      verbose : bool, default: True
          whether to print warnings
  
      Returns
      -------
      np.array of with ndim = 2