Python 访问GCP中的特定公共数据集

Python 访问GCP中的特定公共数据集,python,google-cloud-platform,google-bigquery,Python,Google Cloud Platform,Google Bigquery,我正试图遵循以下关于GCP中能源预测的教程。() 特别是,我试图访问在BigQuery中作为公共数据集可用的数据 Raw data for this problem is publicly available in BigQuery in the following tables: energy-forecasting.Energy.MarketPricePT - Historical hourly energy prices. energy-forecasting.Energy.histor

我正试图遵循以下关于GCP中能源预测的教程。()

特别是,我试图访问在BigQuery中作为公共数据集可用的数据

Raw data for this problem is publicly available in BigQuery in the following tables:
energy-forecasting.Energy.MarketPricePT - Historical hourly energy prices.

energy-forecasting.Energy.historical_weather - Historical hourly weather forecasts.
但是,我的BigQuery只有以下公共数据集

Public Datasets
bigquery-public-data:hacker_news
bigquery-public-data:noaa_gsod
bigquery-public-data:samples
bigquery-public-data:usa_names
gdelt-bq:hathitrustbooks
gdelt-bq:internetarchivebooks
lookerdata:cdc

如何访问所需数据?

您应该将
能源预测项目添加到UI中

要将项目添加到经典UI,请执行以下操作:

单击导航面板中项目名称旁边的向下箭头图标

在下拉菜单中,单击切换到项目>显示项目

在“显示项目”对话框中:

输入项目ID。 使导航面板中的显示项目保持选中状态。 单击“确定”将项目添加到导航面板

详见

要在新的Web UI中添加公共项目,请使用如下url


然后,你可以这样做,下次你去新的网络用户界面-它将在那里为你

如果我单击包含项目名称的下拉列表,它只会显示所有可用的项目名称。没有“切换到项目”或“显示项目”的选项。您是在经典用户界面还是在新用户界面中?您可能在新用户界面中,所以请参阅我的答案中要使用的URL