text_html_output_1.png
import pandas as pd

tickers = ['BAC', 'C', 'GS', 'JPM', 'MS', 'WFC']

Banks_Stock = pd.concat([BAC, C, GS, JPM, MS, WFC], axis=1, keys=tickers)

Banks_Stock.columns.names = ['bank ticker', 'stock info']

Banks_Stock.xs(key='Close', axis=1, level='stock info').max()

returns = pd.DataFrame()

for tick in tickers:
    returns[tick + 'return'] = Banks_Stock[tick]['Close'].pct_change()

returns.idxmax()

returns.idxmin()