def transpose_list(in_list):
    """
    Transpose a 2D list variable.
    :param in_list:
    :return:
    """
    try:
        len(in_list[0])
        return list(map(list, zip(*in_list)))
    except TypeError:
        return in_list