def get_metadata_and_data (dictionary):
    """Seperate and return the data and meta data from a dataframe dictionary

    Parameters
    ----------
    dictionary : dict
        dictionary with keys INDEX, ORDER, and the values of INDEX and ORDER

    Returns
    -------
    Index: str
        the index key
    Order: list
        the order of columns
    Data: dict
        the data and index values
    """
    index = dictionary['INDEX']
    order = dictionary['ORDER']
    temp = {k: dictionary[k] for k in dictionary if not k in ['INDEX', 'ORDER']}
    return index, order, temp