{"id":505,"date":"2019-10-21T13:56:45","date_gmt":"2019-10-21T04:56:45","guid":{"rendered":"https:\/\/gri.jp\/media\/entry\/505"},"modified":"2019-10-21T13:56:45","modified_gmt":"2019-10-21T04:56:45","slug":"2019-10-21-135645","status":"publish","type":"post","link":"https:\/\/gri.jp\/media\/entry\/505","title":{"rendered":"Jupyter notebook\u304b\u3089GCP\u306eBigQuery\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066Pandas\u306eDataFrame\u306b\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5"},"content":{"rendered":"<p>\u69cb\u9020\u5316\u3055\u308c\u305f\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u3044\u3064\u3067\u3082\u5206\u6790\u306b\u4f7f\u3048\u308b\u5f62\u3067\u6301\u3063\u3066\u304a\u304d\u305f\u3044\uff01\u3068\u3044\u3046\u30b1\u30fc\u30b9\u3067\u3088\u304f\u4f7f\u3046\u306e\u304c\u3001<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Google\">Google<\/a> Cloud Platform(<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>)\u306eBigQuery(\u4ee5\u4e0bBQ)\u3067\u3059\u3002<br \/>\n\u6a19\u6e96<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/SQL\">SQL<\/a>\u6587\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u666e\u6bb5\u304b\u3089<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/RDB\">RDB<\/a>\u3092\u6271\u3063\u3066\u3044\u308b\u4eba\u306b\u3082\u7121\u7406\u306a\u304f\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002<a href=\"#f-b826c3eb\" name=\"fn-b826c3eb\" title=\"\u305f\u3060\u3057\u3001\u4e88\u671f\u305b\u306c\u5927\u91cf\u30a2\u30af\u30bb\u30b9\u306b\u3088\u308bBigQuery\u7834\u7523\u306b\u306f\u3054\u6ce8\u610f\uff01\">*1<\/a><\/p>\n<p>\u4e00\u65b9\u3067\u3001\u666e\u6bb5\u304b\u3089<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Python\">Python<\/a>\u3067\u958b\u767a\u3057\u3066\u3044\u308b\u3070\u3042\u3044\u3001Jupyter notebook\u304b\u3089\u76f4\u63a5BQ\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u304b\u3089Pandas\u7b49\u3067\u52a0\u5de5\u3059\u308b\u30b1\u30fc\u30b9\u3082\u591a\u304f\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>Jupyter\u304b\u3089<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u306a\u308b\u3068\u8a8d\u8a3c\u306a\u3069\u304c\u5384\u4ecb\u306a\u306e\u3067\u3059\u304c\u3001<\/p>\n<ul>\n<li>\u8a8d\u8a3c\u30e9\u30a4\u30d6\u30e9\u30eapydata-<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/google\">google<\/a>-auth<\/li>\n<\/ul>\n<p>\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u7c21\u5358\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u307b\u304b\u3001<\/p>\n<ul>\n<li><a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Python\">Python<\/a>\u7528<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 <a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/google\">google<\/a>-cloud-bigquery<\/li>\n<li>Pandas\u306e\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea Pandas-gbq<\/li>\n<\/ul>\n<p>\u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001Pandas\u306eDataFrame\u306b\u3082\u76f4\u63a5\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul class=\"table-of-contents\">\n<li><a href=\"#pydata-google-auth\u306b\u3088\u308b\u8a8d\u8a3c\u30ad\u30fc\u306e\u767a\u884c\">pydata-google-auth\u306b\u3088\u308b\u8a8d\u8a3c\u30ad\u30fc\u306e\u767a\u884c<\/a>\n<ul>\n<li><a href=\"#\u6982\u8981\">\u6982\u8981<\/a><\/li>\n<li><a href=\"#\u65b9\u6cd5\">\u65b9\u6cd5<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5-GCP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\">\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5\u2460 GCP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b<\/a>\n<ul>\n<li><a href=\"#\u6982\u8981-1\">\u6982\u8981<\/a><\/li>\n<li><a href=\"#\u65b9\u6cd5-1\">\u65b9\u6cd5<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5-Pandas\u306e\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\">\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5\u2461 Pandas\u306e\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b<\/a>\n<ul>\n<li><a href=\"#\u6982\u8981-2\">\u6982\u8981<\/a><\/li>\n<li><a href=\"#\u65b9\u6cd5-2\">\u65b9\u6cd5<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#\u307e\u3068\u3081\">\u307e\u3068\u3081<\/a><\/li>\n<li><a href=\"#\u53c2\u8003\">\u53c2\u8003<\/a><\/li>\n<\/ul>\n<hr \/>\n<h1 id=\"pydata-google-auth\u306b\u3088\u308b\u8a8d\u8a3c\u30ad\u30fc\u306e\u767a\u884c\">pydata-<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/google\">google<\/a>-auth\u306b\u3088\u308b\u8a8d\u8a3c\u30ad\u30fc\u306e\u767a\u884c<\/h1>\n<h2 id=\"\u6982\u8981\">\u6982\u8981<\/h2>\n<p>\u307e\u305a\u3001BigQuery\u306b\u9650\u3089\u305a<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/%A5%AF%A5%E9%A5%A6%A5%C9\">\u30af\u30e9\u30a6\u30c9<\/a>\u4e0a\u306e\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u901a\u5e38\u8a8d\u8a3c\u30ad\u30fc\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u30ad\u30fc\u3092\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3067\u767a\u884c\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\u3001<br \/>\n\u5916\u90e8\u3078\u306e\u6d41\u51fa\u3092\u6c17\u3092\u4ed8\u3051\u306a\u304f\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3057\u3001<br \/>\nnotebook\u4e0a\u3067\u958b\u767a\u3059\u308b\u3060\u3051\u306a\u3089\u5c11\u3005\u624b\u9593\u3067\u3059\u3057\u30ea\u30b9\u30af\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u767b\u5834\u3059\u308b\u306e\u304c\u3001pydata-<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/google\">google<\/a>-auth\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br \/>\n\u3053\u308c\u3092\u4f7f\u3046\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u7c21\u5358\u306b\u8a8d\u8a3c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u3001<br \/>\n\u3055\u3089\u306b\u30ad\u30fc\u3082notebook\u4e0a\u306e\u5909\u6570\u3068\u3057\u3066\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 id=\"\u65b9\u6cd5\">\u65b9\u6cd5<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306bnotebook\u306e\u30bb\u30eb\u306b\u6253\u3061\u8fbc\u3093\u3067\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink><span class=\"synPreProc\">import<\/span> pydata_google_auth\ncredentials = pydata_google_auth.get_user_credentials(\n[<span class=\"synConstant\">'https:\/\/www.googleapis.com\/auth\/bigquery'<\/span>],\n)\n<\/pre>\n<p>\u3059\u308b\u3068\u3001\u65b0\u305f\u306a\u30d6\u30e9\u30a6\u30b6\u304c\u7acb\u3061\u4e0a\u304c\u308a\u3001\u81ea\u5206\u306e<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Google\">Google<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8\u9078\u629e\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<br \/>\n\u753b\u9762\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u3044\u3051\u3070\u8a8d\u8a3c\u30ad\u30fc\u304c\u767a\u884c\u3055\u308c\u3001<br \/>\n\u5909\u6570credentials\u306e\u4e2d\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u4ee5\u4e0b\u306e<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u6e21\u3059\u3053\u3068\u3067\u3001\u9078\u629e\u3057\u305f\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u8a31\u53ef\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<h1 id=\"\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5-GCP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\">\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5\u2460 <a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b<\/h1>\n<h2 id=\"\u6982\u8981-1\">\u6982\u8981<\/h2>\n<p>BQ\u306b\u9650\u3089\u305a\u3001<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u306f<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Python\">Python<\/a>\u304b\u3089\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/SDK\">SDK<\/a>(Software Development Kit)\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u3054\u3068\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001BQ\u306e\u5834\u5408<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/google\">google<\/a>-cloud-bigquery\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u6587\u5b57\u5217\u3067query\u3092\u66f8\u3044\u3066\u3001<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/API\">API<\/a>\u306b\u5f15\u304d\u6e21\u3059\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u65b9\u6cd5-1\">\u65b9\u6cd5<\/h2>\n<p>\u4f8b\u3048\u3070\u3001\u7279\u5b9a\u306e\u30c6\u30fc\u30d6\u30eb\u304b\u308910\u884c\u3060\u3051\u53d6\u308a\u51fa\u3059query\u3092BQ\u306b\u6295\u3052\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink><span class=\"synPreProc\">from<\/span> google.cloud <span class=\"synPreProc\">import<\/span> bigquery\nclient = bigquery.Client(project=<span class=\"synConstant\">'&lt;project_id&gt;'<\/span>, credentials=credentials)\nquery = <span class=\"synConstant\">'SELECT * FROM &lt;data set\u540d&gt;.&lt;table\u540d&gt; LIMIT 10'<\/span>\ndf_result = client.query(query).to_dataframe()\n<\/pre>\n<p>\u3053\u308c\u3060\u3051\u3067\u3059\u3002<br \/>\nquery\u5b9f\u884c\u5f8c\u306b<code>.to_dataframe()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001Pandas\u306eDataFrame\u3068\u3057\u3066\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e\u884c\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u30ea\u30bd\u30fc\u30b9\u3092\u6240\u6301\u3059\u308b<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a> Project\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001<br \/>\n\u3053\u306e\u969b\u306b\u5148\u307b\u3069\u53d6\u5f97\u3057\u305f\u8a8d\u8a3c\u30ad\u30fc<code>credentials<\/code>\u3092\u5165\u308c\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<h1 id=\"\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5-Pandas\u306e\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\">\u30c7\u30fc\u30bf\u53d6\u5f97\u65b9\u6cd5\u2461 Pandas\u306e\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b<\/h1>\n<h2 id=\"\u6982\u8981-2\">\u6982\u8981<\/h2>\n<p><a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001BQ\u306e\u307f\u306a\u3089\u305aGCS\u306a\u3069\u4ed6\u306e<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30ea\u30bd\u30fc\u30b9\u5411\u3051\u306e\u3082\u306e\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3046\u3044\u3046\u610f\u5473\u3067\u4e0a\u8a18\u306e\u65b9\u6cd5\u306f\u6a19\u6e96\u7684\u306a\u3082\u306e\u3068\u8a00\u3048\u307e\u3059\u304c\u3001<br \/>\nBQ\u306b\u3064\u3044\u3066\u306fPandas\u306e\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u76f4\u63a5DataFrame\u306b\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u65b9\u6cd5-2\">\u65b9\u6cd5<\/h2>\n<p>\u307e\u305a\u524d\u63d0\u3068\u3057\u3066\u3001Pandas-gbq\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"code Shell\" data-lang=\"Shell\" data-unlink>pip install pandas-gbq<\/pre>\n<p>\u305d\u306e\u3046\u3048\u3067\u901a\u5e38\u901a\u308aPandas\u3092import\u3059\u308b\u3068\u3001<code>read_gbq()<\/code>\u30e1\u30bd\u30c3\u30c9\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u5f15\u6570\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001<\/p>\n<ul>\n<li>query\u6587\u5b57\u5217<\/li>\n<li>project_id<\/li>\n<li>credential\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<\/ul>\n<p>\u306a\u3069\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink><span class=\"synPreProc\">import<\/span> pandas <span class=\"synStatement\">as<\/span> pd\nproject_id = <span class=\"synConstant\">'&lt;project_id&gt;'<\/span>\nquery = <span class=\"synConstant\">'SELECT * FROM &lt;data set\u540d&gt;.&lt;table\u540d&gt; LIMIT 10'<\/span>\ndf = pd.read_gbq(query, project_id, dialect=<span class=\"synConstant\">'standard'<\/span>, credentials=credentials)\n<\/pre>\n<p>\u3053\u3053\u3067\u3082\u3001\u5148\u307b\u3069<code>pydata-google-auth<\/code>\u304b\u3089\u53d6\u5f97\u3057\u305fcredentials\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h1 id=\"\u307e\u3068\u3081\">\u307e\u3068\u3081<\/h1>\n<p><code>pydata-google-auth<\/code>\u3092\u4f7f\u3048\u3070\u81ea\u8eab\u306e\u6301\u3064<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Google\">Google<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831\u3068\u7d10\u3065\u3044\u305f\u8a8d\u8a3c\u30ad\u30fc\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u7c21\u5358\u306b\u53d6\u5f97\u3067\u304d\u3001<br \/>\n\u305d\u308c\u3092<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3084Pandas\u62e1\u5f35\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u98df\u308f\u305b\u308b\u3060\u3051\u3067\u7c21\u5358\u306bBQ\u306e\u30c7\u30fc\u30bf\u3092DataFrame\u3068\u3057\u3066\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3060\u3051\u3057\u304b\u89e3\u8aac\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u30c7\u30fc\u30bf\u306e\u633f\u5165\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u4f5c\u6210\u30fb\u524a\u9664\u306a\u3069\u3042\u3089\u3086\u308b\u64cd\u4f5c\u3092\uff08\u6a29\u9650\u304c\u3042\u308b\u9650\u308a\uff09<a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Python\">Python<\/a>\u304b\u3089\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u4e0b\u8a18\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1 id=\"\u53c2\u8003\">\u53c2\u8003<\/h1>\n<ul>\n<li><a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/GCP\">GCP<\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<br \/>\n<iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fgoogleapis.dev%2Fpython%2Fbigquery%2Flatest%2Findex.html\" title=\"Python Client for Google BigQuery \u2014 google-cloud-bigquery 0.1.0 documentation\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\"><\/iframe><cite class=\"hatena-citation\"><a href=\"https:\/\/googleapis.dev\/python\/bigquery\/latest\/index.html\">googleapis.dev<\/a><\/cite><\/li>\n<li><a href=\"https:\/\/cloud.google.com\/bigquery\/docs\/pandas-gbq-migration?hl=ja\">pandas-gbq &#x304B;&#x3089;&#x306E;&#x79FB;&#x884C; &nbsp;|&nbsp; BigQuery &nbsp;|&nbsp; Google Cloud<\/a><\/li>\n<li><a href=\"https:\/\/pandas-gbq.readthedocs.io\/en\/latest\/\">Pandas-gbq\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/li>\n<\/ul>\n<div class=\"footnote\">\n<p class=\"footnote\"><a href=\"#fn-b826c3eb\" name=\"f-b826c3eb\" class=\"footnote-number\">*1<\/a><span class=\"footnote-delimiter\">:<\/span><span class=\"footnote-text\">\u305f\u3060\u3057\u3001\u4e88\u671f\u305b\u306c\u5927\u91cf\u30a2\u30af\u30bb\u30b9\u306b\u3088\u308bBigQuery\u7834\u7523\u306b\u306f\u3054\u6ce8\u610f\uff01<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u69cb\u9020\u5316\u3055\u308c\u305f\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u3044\u3064\u3067\u3082\u5206\u6790\u306b\u4f7f\u3048\u308b\u5f62\u3067\u6301\u3063\u3066\u304a\u304d\u305f\u3044\uff01\u3068\u3044\u3046\u30b1\u30fc\u30b9\u3067\u3088\u304f\u4f7f\u3046\u306e\u304c\u3001Google Cloud Platform(GCP)\u306eBigQuery(\u4ee5\u4e0bBQ)\u3067\u3059\u3002 \u6a19\u6e96SQL\u6587\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u666e\u6bb5<\/p>\n","protected":false},"author":1,"featured_media":4566,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-datascience"],"acf":[],"meta_field":{"_pv_count":["a:24:{i:12;i:121;i:13;i:132;i:7;i:25;i:11;i:142;i:19;i:102;i:8;i:50;i:9;i:95;i:22;i:82;i:15;i:193;i:14;i:176;i:16;i:174;i:21;i:80;i:18;i:132;i:1;i:171;i:17;i:128;i:6;i:35;i:10;i:143;i:20;i:59;i:0;i:73;i:23;i:54;i:4;i:42;i:2;i:84;i:5;i:49;i:3;i:96;}"],"pv_count":["2438"],"_thumbnail_id":["4566"]},"_links":{"self":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":0,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/media\/4566"}],"wp:attachment":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}