bogs = {}
for chong in NASDAQ.index:
date = dt.datetime.strptime(chong[0:10], \'%Y-%d-%m\') bogs[date] = NASDAQ[\'Volume\'][chong]