<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def make_2d(array, verbose=True):
 """ 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 """

    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