import pandas_datareader.data as web
import datetime
start = datetime.datetime(2010, 1, 1)
end = datetime.datetime(2013, 1, 27)
f = web.DataReader("ugaz", 'yahoo', start, end)
f.ix['2010-01-04']
The above is the code I am currently trying to use to get data from Yahoo Finance. when I run the code I get this in the python shell 3.5.2 window
==================== RESTART: C:/Users/Zac/Desktop/ll.py ====================
That's all that I get. I am using python 3.5 on windows 10
The first datapoint is
f.ix['2012-02-08']
Open 48.360002
High 48.360002
Low 48.360002
Close 48.360002
Volume 0.000000
Adj Close 6045.000287
Name: 2012-02-08 00:00:00, dtype: float64