这里的截图:

错误:无法执行代码的禁止错误(状态403)。引发API错误。试图使用quandl显示数据的标题。
PS :使用quandl在Python3.5中安装pip install quandl
码
1> import pandas as pd
2> import quandl as Q
3> data = Q.get_table('WIKI/PRICES')
4> print(df.head())误差
File "C:\Python35\lib\site-packages\quandl\connection.py", line 85, in handle_api_error
raise klass(message, resp.status_code, resp.text, resp.headers, code)
quandl.errors.quandl_error.ForbiddenError: (Status 403) (Quandl Error QEPx04) A valid API key is required to retrieve data. Please check your API key and try again. You can find your API key under your account settings.发布于 2017-04-08 08:49:15
需要将quandl.ApiConfig.api_key设置为Quandl并访问数据。
因此,请注册昆德尔并获取api密钥,并在代码中使用相同的内容,如下所示:
import quandl
quandl.ApiConfig.api_key = '#enter api key here'
data = quandl.get_table('WIKI/PRICES')
print(data.head())https://stackoverflow.com/questions/43084127
复制相似问题