def get_max_cat(df):

    """
    FUNCTION: Return the top category of sorted input dataframe

    INPUTS:
        df - data frame containing the percentage breakdown of a category

    OUTPUTS:
        top_val - string containing the top category from the dataframe
    """

    df = df.transpose()
    top_val = df.columns[0]
    return top_val