def display_portfolio(portfolio, results):
    """
    Display the optimal portfolio.

    :param portfolio: (pd.DataFrame) Weightings DataFrame from optimize_portfolio() function.
    :param results: (pd.DataFrame) Results DataFrame from optimize_portfolio() function.
    :return: (pd.DataFrame) Displays the optimized portfolio.
    """
    portfolio.rename(columns={int(1): 'WEIGHTING'}, inplace=True)
    portfolio = portfolio[portfolio['WEIGHTING'] != 0].sort_values(by='WEIGHTING', ascending=False)
    print(results)
    return portfolio