LINGBOWEIBU_NUAA
lingboweibu_csdn
2015-11-09 10:50

麻烦各位大神给看下下面这段代码,运行不起来。请帮忙看下是什么原因(是在Python上运行的)

  • 网络爬虫
  • 雅虎财经数据

from matplotlib.finance import quotes historical_yahoo
from datetime import date
import pandas as pd
today=date.today()
start=(today.year-1,today.month,today.day)
quotes=quotes_historical_yahoo('AXP',start,today)
df=pd.DataFrame(quotes)
print df

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答