def shift_index_column(panda_dataframe, columns_to_index):
    """Shift the index column of a pandas DataFrame

    Parameters
    ----------
    panda_dataframe: pandas.DataFrame
        A pandas dataframe.
    columns_to_index: list
        Column label or list of column labels / arrays

    Returns
    -------
    output: pandas.DataFrame
        A new pandas DataFrame with the shifted columns as index.
    """
    new_data = panda_dataframe.set_index(columns_to_index)
    return new_data
