Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/335.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 使用pandaSDMX将OECD数据加载到熊猫中_Python_Pandas_Web Scraping - Fatal编程技术网

Python 使用pandaSDMX将OECD数据加载到熊猫中

Python 使用pandaSDMX将OECD数据加载到熊猫中,python,pandas,web-scraping,Python,Pandas,Web Scraping,我正在尝试从经合组织加载工业生产数据(包括历史修订)。有关数据可在以下网址找到: 我想使用pandaSDMX()将数据加载到Python中的pandas环境中 我得到以下错误,表明代码无法找到所需的url raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://stats.oecd.org/SDMX-JSON/c

我正在尝试从经合组织加载工业生产数据(包括历史修订)。有关数据可在以下网址找到:

我想使用pandaSDMX()将数据加载到Python中的pandas环境中

我得到以下错误,表明代码无法找到所需的url

raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://stats.oecd.org/SDMX-JSON/categoryscheme?references=parentsandsiblings

有办法解决这个问题吗?其他人是否在OECD数据和pandaSDMX方面遇到过类似问题?

pandaSDMX使用的OECD API仅支持数据集请求,因此没有类别模式、数据结构和数据流。您必须自己通过web界面计算出数据流ID和所需的维度值,然后发出数据请求

raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://stats.oecd.org/SDMX-JSON/categoryscheme?references=parentsandsiblings