application_vnd.jupyter.stderr_output_2.png text_plain_output_1.png
import pandas as pd

import numpy as np
import pandas as pd
def load_stock(name):
    df = pd.read_csv('../input/stock-market-data/stock_market_data/nasdaq/csv/{}.csv'.format(name))
    df.set_index('Date', inplace=True)
    return df
names = ['AAL', 'AAPL']
stocks = [load_stock(n) for n in names]
df = stocks[0][-1500:]
df